Skip to content
Snippets Groups Projects
Verified Commit c24a8f97 authored by Georg Krause's avatar Georg Krause
Browse files

ci(deploy): Add package publishing to pypi

parent bd9ddb59
No related branches found
No related tags found
1 merge request!2Resolve "Publish to pypi"
Pipeline #23820 failed
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence # See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages: stages:
- test - test
- publish
sast: sast:
stage: test stage: test
include: include:
...@@ -26,3 +28,11 @@ pytest: ...@@ -26,3 +28,11 @@ pytest:
coverage_report: coverage_report:
coverage_format: cobertura coverage_format: cobertura
path: coverage.xml path: coverage.xml
publish:
image: python:3.10-alpine
before_script:
- apk add poetry
- poetry install
script:
- poetry publish --build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment