# .woodpecker.yml
steps:
  unit-test:
    image: python:3
    pull: true
    commands:
      - echo "Prepare the engine unit-test..."
      - python --version
      - pip install --no-cache-dir coverage
      - echo "Run unit-tests and collect coverage..."
      - coverage run --include=kernel_hardening_checker/engine.py,kernel_hardening_checker/test_engine.py -m unittest -v -b
      - echo "Show the coverage report..."
      - coverage report
