Commit f028b42b by Alexander Popov

Create a separate CI workflow for unit-tests

parent f08db00f
name: engine unit-test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
engine_unit-test:
runs-on: ubuntu-latest
strategy:
max-parallel: 1
fail-fast: false
matrix:
python-version: ['3.11']
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Get source code for collecting coverage
uses: actions/checkout@v3
- 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
......@@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
check_all_configs:
functional_test:
runs-on: ubuntu-latest
......@@ -165,13 +165,3 @@ jobs:
name: codecov-umbrella
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment