gstreamer/.gitlab-ci.yml
Jordan Petridis b5b71baddb
build_manifest.py: Prefer a custom token if set
In order to be able to query the Gitlab Group API we need to be
authenticated. CI_JOB_TOKEN for public jobs has a non-meaningfull
value which does not actually authenticate the Runner to the
intance.
2018-11-05 14:41:50 +02:00

15 lines
342 B
YAML

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"