.woodpecker/functional_test.yml
raw| 1 | # .woodpecker.yml |
| 2 | steps: |
| 3 | - name: functional-test-with-coverage |
| 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 functional tests and collect coverage..." |
| 13 | - sh .github/workflows/functional_test.sh |
| 14 | - echo "Show the coverage report..." |
| 15 | - coverage report |