mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: run only unit tests with coverage in CI
This will verify coverage and unit tests without duplicating unit runs.
This commit is contained in:
parent
ce0dd25349
commit
f0c17378a0
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -62,21 +62,15 @@ jobs:
|
|||||||
npm run commitlint
|
npm run commitlint
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests with coverage
|
||||||
uses: nick-invision/retry@v2
|
uses: nick-invision/retry@v2
|
||||||
env:
|
env:
|
||||||
CHROMIUM: true
|
CHROMIUM: true
|
||||||
with:
|
with:
|
||||||
max_attempts: 3
|
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
|
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
|
- name: Run unit tests on Firefox
|
||||||
uses: nick-invision/retry@v2
|
uses: nick-invision/retry@v2
|
||||||
env:
|
env:
|
||||||
|
Loading…
Reference in New Issue
Block a user