Skip to content
Snippets Groups Projects
Commit b6fca147 authored by Christoph Knote's avatar Christoph Knote
Browse files

Caching poetry packages

parent 0cc8a8eb
No related branches found
No related tags found
1 merge request!24Prep for publish
......@@ -4,6 +4,11 @@ before_script:
- curl -sSL https://install.python-poetry.org | python3 -
- export PATH="/root/.local/bin:$PATH"
- poetry --version
- poetry config virtualenvs.in-project true
cache:
paths:
- .venv
stages:
- build_package
......@@ -20,7 +25,7 @@ test:
stage: testing
needs: [build_package]
script:
- poetry update -vvv
- poetry update
- poetry install
- poetry run coverage run --source=tests -m unittest discover
- poetry run coverage report
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment