Commit b9f7cd4b by Alexander Popov

Run the engine unit-test in Woodpecker-CI

parent 74f975ac
# .woodpecker.yml # .woodpecker.yml
pipeline: pipeline:
hello-step: unit-test:
image: python:3 image: python:3
pull: true
commands: commands:
- echo "Hello, this is the engine unit-test" - echo "Prepare the engine unit-test..."
build:
image: python:3
commands:
- echo "Building..."
- python --version - python --version
a-test-step: - pip install --no-cache-dir coverage
image: python:3 - echo "Run unit-tests and collect coverage..."
commands: - coverage run --include=kconfig_hardened_check/engine.py,kconfig_hardened_check/test_engine.py -m unittest -v -b
- echo "Testing..." - echo "Show the coverage report..."
- ./bin/kconfig-hardened-check - coverage report
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