Skip to content

Commit

Permalink
chore: run only unit tests with coverage in CI
Browse files Browse the repository at this point in the history
This will verify coverage and unit tests without duplicating unit runs.
  • Loading branch information
jrandolf committed Jun 15, 2022
1 parent ce0dd25 commit f0c1737
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -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:
Expand Down

0 comments on commit f0c1737

Please sign in to comment.