From 032203190622d21f5a9550e5af1bba131f5373a0 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Thu, 21 Jul 2022 09:26:55 +0200 Subject: [PATCH] chore: fix ToT test jobs --- .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 a87f4ac981ba7..c227d3cc454ed 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