Skip to content
Snippets Groups Projects
Commit 92b621e1 authored by mehtank's avatar mehtank
Browse files

Run pytest on commit

parent 5b56e01c
No related merge requests found
Pipeline #37 failed with stage
in 2 minutes and 36 seconds
stages:
- test
- deploy
cache:
paths:
- ~/.cache/pip/
.test: &test_template
stage: test
before_script:
- pip3 install .
script:
- python3 -m pytest
test:PY3.7:
<<: *test_template
image: python:3.7
test:PY3.8:
<<: *test_template
image: python:3.8
test:PY3.9:
<<: *test_template
image: python:3.9
build-package:
stage: deploy
image: python:3
image: python:3.7
script:
- cat $PYPIRC > /tmp/.pypirc
- pip3 install twine
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment