mirror of
https://github.com/ilri/dspace-statistics-api.git
synced 2024-11-22 14:25:01 +01:00
.build.yml: Use poetry instead of pipenv
This commit is contained in:
parent
85fca81611
commit
e6572d9469
@ -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'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user