From 53e171b8f7d1f873162fc42cfb131dadc4101302 Mon Sep 17 00:00:00 2001 From: Himanshu Mishra Date: Tue, 22 Sep 2020 14:55:54 +0200 Subject: [PATCH] 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. --- .github/workflows/master.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index f99c266241..a38301f913 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -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