From 3d780a3f08b0ef094bae9bfe97c30d1b503f8499 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 21 Jul 2022 10:12:23 +0200 Subject: [PATCH] chore: fix ToT test jobs (#8679) --- .github/workflows/tot-ci.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/tot-ci.yml b/.github/workflows/tot-ci.yml index a87f4ac981b..c227d3cc454 100644 --- a/.github/workflows/tot-ci.yml +++ b/.github/workflows/tot-ci.yml @@ -48,11 +48,8 @@ jobs: - name: Run unit tests in headless uses: nick-invision/retry@v2 - env: - CHROMIUM: true - HEADLESS: true with: - command: xvfb-run --auto-servernum npm run test:unit + command: xvfb-run --auto-servernum npm run test:chrome timeout_minutes: 10 max_attempts: 3 @@ -89,11 +86,8 @@ jobs: - name: Run unit tests in headful uses: nick-invision/retry@v2 - env: - CHROMIUM: true - HEADLESS: false with: - command: xvfb-run --auto-servernum npm run test:unit + command: xvfb-run --auto-servernum npm run test:chrome:headful timeout_minutes: 10 max_attempts: 3 @@ -130,9 +124,7 @@ jobs: - name: Run unit tests in chrome headless uses: nick-invision/retry@v2 - env: - CHROMIUM: true 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 max_attempts: 3