1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-06-29 01:23:45 +02:00

.build.yml: Use poetry instead of pipenv

This commit is contained in:
Alan Orth 2020-10-05 22:37:42 +03:00
parent 85fca81611
commit e6572d9469
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,6 +1,6 @@
image: archlinux image: archlinux
packages: packages:
- python-pipenv - python-poetry
- postgresql - postgresql
sources: sources:
- https://git.sr.ht/~alanorth/dspace-statistics-api - https://git.sr.ht/~alanorth/dspace-statistics-api
@ -15,10 +15,7 @@ tasks:
createdb -U postgres -O dspacestatistics --encoding=UNICODE dspacestatistics createdb -U postgres -O dspacestatistics --encoding=UNICODE dspacestatistics
cd dspace-statistics-api cd dspace-statistics-api
psql -U postgres -d dspacestatistics < tests/dspacestatistics.sql psql -U postgres -d dspacestatistics < tests/dspacestatistics.sql
pipenv install --dev poetry install --no-root
- test: | - test: |
cd dspace-statistics-api cd dspace-statistics-api
pipenv run pytest poetry run pytest
environment:
PIPENV_NOSPIN: 'True'
PIPENV_HIDE_EMOJIS: 'True'