Upload package specific code coverage to codecov

We have declared the flags in .codecov.yml. From our master branch workflow
we will upload specific coverage reports for these each individual flags.
This commit is contained in:
Himanshu Mishra
2020-09-22 14:55:54 +02:00
parent de04b88381
commit 53e171b8f7
+3
View File
@@ -63,6 +63,9 @@ jobs:
run: |
yarn lerna -- run test -- --coverage
bash <(curl -s https://codecov.io/bash)
# Upload code coverage for some specific flags. Also see .codecov.yml
bash <(curl -s https://codecov.io/bash) -f packages/core/coverage/* -F packages-core
bash <(curl -s https://codecov.io/bash) -f packages/core-api/coverage/* -F packages-core-api
# Publishes current version of packages that are not already present in the registry
- name: publish