From f0c17378a00557f85facbadbd08065ab91830874 Mon Sep 17 00:00:00 2001 From: Randolf J Date: Wed, 15 Jun 2022 12:48:20 +0200 Subject: [PATCH] chore: run only unit tests with coverage in CI This will verify coverage and unit tests without duplicating unit runs. --- .github/workflows/ci.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04502762abb..92c8a5966f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -62,21 +62,15 @@ jobs: npm run commitlint if: github.event_name != 'pull_request' - - name: Run unit tests + - name: Run unit tests with coverage uses: nick-invision/retry@v2 env: CHROMIUM: true with: max_attempts: 3 - command: xvfb-run --auto-servernum npm run test:unit + command: xvfb-run --auto-servernum npm run test:unit:coverage timeout_minutes: 10 - - name: Run unit tests with coverage - env: - CHROMIUM: true - run: | - xvfb-run --auto-servernum npm run test:unit:coverage - - name: Run unit tests on Firefox uses: nick-invision/retry@v2 env: