From 703b174467fe57e5afcc92315ca16b9d0750ba4c Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sat, 11 Mar 2023 00:03:49 +0300 Subject: [PATCH] Upload the unit-test coverage to codecov (use a separate flag) --- .github/workflows/engine_unit-test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.31.1