From 0fd632e8339f1d1ac33209de5cc643716bf7560b Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 25 Oct 2018 13:33:14 +0300 Subject: [PATCH] CI: run the build_manifest.py tests --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitlab-ci.yml 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"