Debian Codegraph @

.woodpecker/engine_unit-test.yml

raw
1 # .woodpecker.yml
2 steps:
3 - name: unit-test
4 image: python:3
5 when:
6 - event: [push, tag, manual]
7 commands:
8 - ls -la
9 - python3 --version
10 - python3 -m pip install --upgrade pip
11 - python3 -m pip install coverage
12 - echo "Run the unit-tests and collect coverage..."
13 - coverage run --include=kernel_hardening_checker/engine.py,kernel_hardening_checker/test_engine.py -m unittest -v -b
14 - echo "Show the coverage report..."
15 - coverage report