Added CI pipeline script for Gitlab

This commit is contained in:
Fabio Manganiello 2021-02-24 00:31:46 +01:00
parent 571a8ca9d1
commit ef36c76f10

15
.gitlab-ci.yml Normal file
View file

@ -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