Install 'coverage' in the unit-test CI workflow
authorAlexander Popov <alex.popov@linux.com>
Fri, 10 Mar 2023 21:17:02 +0000 (00:17 +0300)
committerAlexander Popov <alex.popov@linux.com>
Fri, 10 Mar 2023 21:17:02 +0000 (00:17 +0300)
.github/workflows/engine_unit-test.yml

index 873faceb92fdade31fef73d2342e0d771c9b5a09..5a1a00ca58e21e8d95f442bb42e06fdd47496b48 100644 (file)
@@ -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