forked from platypush/platypush
Added CI pipeline script for Gitlab
This commit is contained in:
parent
571a8ca9d1
commit
ef36c76f10
1 changed files with 15 additions and 0 deletions
15
.gitlab-ci.yml
Normal file
15
.gitlab-ci.yml
Normal 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
|
||||
|
Loading…
Reference in a new issue