mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Retry e2e tests if they fail
This commit is contained in:
parent
c0040f8423
commit
f87f5b59af
1 changed files with 8 additions and 3 deletions
11
.github/workflows/e2e.yml
vendored
11
.github/workflows/e2e.yml
vendored
|
@ -10,6 +10,7 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 120
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
@ -56,12 +57,16 @@ jobs:
|
|||
choco install firefox-dev --pre
|
||||
echo "::add-path::C:\Program Files\Firefox Dev Edition"
|
||||
- name: Test (Firefox)
|
||||
uses: nick-invision/retry@v1
|
||||
if: matrix.browser != 'chrome'
|
||||
env:
|
||||
HEADLESS: 1
|
||||
run: |
|
||||
yarn make-zip
|
||||
yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest
|
||||
with:
|
||||
max_attempts: 6
|
||||
timeout_minutes: 10
|
||||
command: |
|
||||
yarn make-zip
|
||||
yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest || yarn jest
|
||||
# - name: Test (Chrome, Linux)
|
||||
# if: matrix.browser == 'chrome' && matrix.os == 'ubuntu'
|
||||
# run: xvfb-run --auto-servernum npm run jest -- ${{ matrix.browser }} || xvfb-run --auto-servernum npm run jest -- ${{ matrix.browser }}
|
||||
|
|
Loading…
Add table
Reference in a new issue