diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000..1da9c73a5a --- /dev/null +++ b/.gitlab-ci.yml @@ -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"