Commit 615cb586 authored by Christophe Benz's avatar Christophe Benz

CI: run tests, cache pip packages

parent b08c6132
Pipeline #70642 failed with stage
in 23 seconds
upload_to_pypi:
image: python:3-alpine
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
Run tests:
stage: test
image: python:3.7-alpine
before_script:
- pip install pytest
script:
- pytest
Publish to PyPI:
stage: deploy
image: python:3.7-alpine
only:
- tags
tags:
......
Markdown is supported
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