mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 07:00:59 +00:00
chore(ci): add flags for codecov
This commit is contained in:
parent
2399394190
commit
b0f955230a
@ -104,7 +104,7 @@ jobs:
|
|||||||
at: ~/project
|
at: ~/project
|
||||||
- run:
|
- run:
|
||||||
name: Build Fixtures
|
name: Build Fixtures
|
||||||
command: yarn test:fixtures -i --coverage && yarn coverage
|
command: yarn test:fixtures -i --coverage && yarn coverage -F fixtures
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: ~/project
|
root: ~/project
|
||||||
paths:
|
paths:
|
||||||
@ -131,7 +131,7 @@ jobs:
|
|||||||
at: ~/project
|
at: ~/project
|
||||||
- run:
|
- run:
|
||||||
name: Unit Tests
|
name: Unit Tests
|
||||||
command: yarn test:unit -w=2 --coverage && yarn coverage
|
command: yarn test:unit -w=2 --coverage && yarn coverage -F unit
|
||||||
|
|
||||||
test-e2e:
|
test-e2e:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
@ -150,7 +150,7 @@ jobs:
|
|||||||
sudo ln -s `pwd`/chrome-linux/chrome /bin/chromium
|
sudo ln -s `pwd`/chrome-linux/chrome /bin/chromium
|
||||||
- run:
|
- run:
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage
|
command: CHROME_PATH=/bin/chromium yarn test:e2e && yarn coverage -F e2e
|
||||||
|
|
||||||
test-types:
|
test-types:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
Loading…
Reference in New Issue
Block a user