From ef36c76f103009394d216cd8538c9a8feaf77da6 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 24 Feb 2021 00:31:46 +0100 Subject: [PATCH] Added CI pipeline script for Gitlab --- .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..20ad144a35 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +default: + image: python:3.9 + before_script: + - apt-get update + - apt-get install -y python3-pip + - pip install -r requirements.txt + +stages: + - test + +test: + script: + - coverage run -m pytest + - coverage report +