Skip to content
Snippets Groups Projects
Verified Commit 86935676 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

[CI] Use pip export to speed up build

parent c3e48a12
No related branches found
No related tags found
No related merge requests found
Pipeline #307 failed
......@@ -24,7 +24,7 @@ test:
- eatmydata pip install "poetry==${POETRY_VERSION}"
- adduser --disabled-password --gecos "Test User" testuser
script:
- sudo -u testuser eatmydata poetry install
- sudo -u testuser sh -c 'poetry export -f requirements.txt | eatmydata pip install -r /dev/stdin'
- sudo -u testuser eatmydata poetry run tox
build_dist:
......@@ -120,7 +120,7 @@ pages:
- eatmydata apt-get -y install make
- eatmydata pip install "poetry==${POETRY_VERSION}"
script:
- eatmydata poetry install
- poetry export -f requirements.txt | eatmydata pip install -r /dev/stdin
- poetry run make -C docs html BUILDDIR=../public/docs
artifacts:
paths:
......
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