Commit deee2a68 authored by gonczor's avatar gonczor

Build job

parent dff14feb
Pipeline #215164985 failed with stages
in 1 minute and 28 seconds
......@@ -4,9 +4,7 @@
stages:
- test
default:
image: "python:3.8"
- build
.pytest:
stage: test
......@@ -55,4 +53,15 @@ black-3.9:
image: "python:3.9"
mypy-3.9:
extends: ".mypy"
image: "python:3.9"
\ No newline at end of file
image: "python:3.9"
build_package:
stage: build
image: "python3.9"
before_script:
- pip install twine
script:
- python3 setup.py sdist bdist_wheel
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python3 -m twine upload --repository-url https://gitlab.example.com/api/v4/projects/21712491/packages/pypi dist/*
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