Skip to content
Snippets Groups Projects

Feature/mad 91 gitlab pipeline

Merged Lene Wasskog requested to merge feature/mad-91-gitlab-pipeline into main
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
+ 3
1
@@ -11,13 +11,13 @@ before_script:
- python -m venv venv
- . venv/bin/activate
- pip install -e .
- pip install build twine
build:
stage: build
tags:
- vips-runner
script:
- pip install build
- python -m build
artifacts:
paths:
@@ -29,6 +29,7 @@ test:
tags:
- vips-runner
script:
- pip install pytest
- pytest
deploy:
@@ -36,4 +37,5 @@ deploy:
tags:
- vips-runner
script:
- pip install twine
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://gitlab.nibio.no/api/v4/projects/401/packages/pypi dist/* --verbose
Loading