CI: run the build_manifest.py tests

This commit is contained in:
Jordan Petridis 2018-10-25 13:33:14 +03:00
parent 2e2864cde7
commit 0fd632e833
No known key found for this signature in database
GPG key ID: 902CC06D159744F5

15
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,15 @@
stages:
- test
test manifest:
image: "fedora"
stage: "test"
before_script:
- dnf install -y python3-pytest python3-pytest-cov python3-requests
script:
- pytest-3 --junitxml=junit.xml --cov=build_manifest gitlab/build_manifest.py
coverage: '/TOTAL.*\s+(\d+%)$/'
artifacts:
reports:
junit:
- "junit.xml"