chore: fix ToT test jobs (#8679)

This commit is contained in:
Alex Rudenko 2022-07-21 10:12:23 +02:00 committed by GitHub
parent d734c14813
commit 3d780a3f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,11 +48,8 @@ jobs:
- name: Run unit tests in headless - name: Run unit tests in headless
uses: nick-invision/retry@v2 uses: nick-invision/retry@v2
env:
CHROMIUM: true
HEADLESS: true
with: with:
command: xvfb-run --auto-servernum npm run test:unit command: xvfb-run --auto-servernum npm run test:chrome
timeout_minutes: 10 timeout_minutes: 10
max_attempts: 3 max_attempts: 3
@ -89,11 +86,8 @@ jobs:
- name: Run unit tests in headful - name: Run unit tests in headful
uses: nick-invision/retry@v2 uses: nick-invision/retry@v2
env:
CHROMIUM: true
HEADLESS: false
with: with:
command: xvfb-run --auto-servernum npm run test:unit command: xvfb-run --auto-servernum npm run test:chrome:headful
timeout_minutes: 10 timeout_minutes: 10
max_attempts: 3 max_attempts: 3
@ -130,9 +124,7 @@ jobs:
- name: Run unit tests in chrome headless - name: Run unit tests in chrome headless
uses: nick-invision/retry@v2 uses: nick-invision/retry@v2
env:
CHROMIUM: true
with: with:
command: xvfb-run --auto-servernum npm run test:unit:chrome-headless command: xvfb-run --auto-servernum npm run test:chrome-headless
timeout_minutes: 10 timeout_minutes: 10
max_attempts: 3 max_attempts: 3