X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=.github%2Fworkflows%2Fmain.yml;h=eb1a8dda2ccb9f904f4f45b0902bf588e475aa5c;hb=f08db00f97baf8004863be191c89285ad6c333f5;hp=d6b8cfd949fb76ae75f6e101af334e8a973107a1;hpb=4925c2aef187b7e292537afaecbbbc8b15ad5d97;p=kconfig-hardened-check.git diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d6b8cfd..eb1a8dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest strategy: - max-parallel: 4 + max-parallel: 3 fail-fast: false matrix: # Current ubuntu-latest (Ubuntu 22.04) provides the following versions of Python: @@ -166,3 +166,12 @@ jobs: fail_ci_if_error: true verbose: true + - name: Erase coverage + run: | + coverage erase + rm ./coverage.xml + + - 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 + coverage xml -i -o coverage_unittest.xml