Skip to content
Snippets Groups Projects
Commit 3e2797f9 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

chore: Install pytest in test stage

parent bfcfa519
No related branches found
No related tags found
1 merge request!1Feature/mad 91 gitlab pipeline
Pipeline #697 failed
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment