From: Alexander Popov Date: Fri, 10 Mar 2023 21:03:49 +0000 (+0300) Subject: Upload the unit-test coverage to codecov (use a separate flag) X-Git-Tag: v0.6.6~215 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=703b174467fe57e5afcc92315ca16b9d0750ba4c;p=kconfig-hardened-check.git Upload the unit-test coverage to codecov (use a separate flag) --- diff --git a/.github/workflows/engine_unit-test.yml b/.github/workflows/engine_unit-test.yml index 92591c6..873face 100644 --- a/.github/workflows/engine_unit-test.yml +++ b/.github/workflows/engine_unit-test.yml @@ -31,3 +31,12 @@ jobs: run: | coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v coverage xml -i -o coverage_unittest.xml + + - name: Handle coverage + uses: codecov/codecov-action@v3 + with: + files: ./coverage_unittest.xml + flags: engine_unit-test + name: codecov-umbrella + fail_ci_if_error: true + verbose: true