mirror of
https://github.com/strapi/strapi.git
synced 2025-09-22 23:09:47 +00:00
Add global codecov to ci
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
This commit is contained in:
parent
36b80f26d9
commit
ab3489fba6
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -39,7 +39,9 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
run: |
|
||||
yarn && yarn global add codecov
|
||||
echo "$(yarn global bin)" >> $GITHUB_PATH
|
||||
- name: Run test
|
||||
run: yarn run -s test:unit --coverage && codecov -C -F unit
|
||||
|
||||
@ -56,7 +58,9 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install modules
|
||||
run: yarn
|
||||
run: |
|
||||
yarn && yarn global add codecov
|
||||
echo "$(yarn global bin)" >> $GITHUB_PATH
|
||||
- name: Run test
|
||||
run: yarn run -s test:unit && codecov -C -F front
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user