From: Alexander Popov Date: Fri, 10 Mar 2023 21:17:02 +0000 (+0300) Subject: Install 'coverage' in the unit-test CI workflow X-Git-Tag: v0.6.6~213 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=5388db347cb7dd4532bc8b621e5e9ff6b67f4661;p=kconfig-hardened-check.git Install 'coverage' in the unit-test CI workflow --- diff --git a/.github/workflows/engine_unit-test.yml b/.github/workflows/engine_unit-test.yml index 873face..5a1a00c 100644 --- a/.github/workflows/engine_unit-test.yml +++ b/.github/workflows/engine_unit-test.yml @@ -27,6 +27,11 @@ jobs: - name: Get source code for collecting coverage uses: actions/checkout@v3 + - name: Install coverage + run: | + python -m pip install --upgrade pip + pip install coverage + - name: Run unit-tests and collect coverage run: | coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v