From e6572d94695c8d9bc290ae056319ad2aedb2ebbc Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 5 Oct 2020 22:37:42 +0300 Subject: [PATCH] .build.yml: Use poetry instead of pipenv --- .build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.build.yml b/.build.yml index 3221823..a7889f6 100644 --- a/.build.yml +++ b/.build.yml @@ -1,6 +1,6 @@ image: archlinux packages: - - python-pipenv + - python-poetry - postgresql sources: - https://git.sr.ht/~alanorth/dspace-statistics-api @@ -15,10 +15,7 @@ tasks: createdb -U postgres -O dspacestatistics --encoding=UNICODE dspacestatistics cd dspace-statistics-api psql -U postgres -d dspacestatistics < tests/dspacestatistics.sql - pipenv install --dev + poetry install --no-root - test: | cd dspace-statistics-api - pipenv run pytest -environment: - PIPENV_NOSPIN: 'True' - PIPENV_HIDE_EMOJIS: 'True' + poetry run pytest