1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-23 04:32:21 +01:00

.build.yml: Use poetry in SourceHut CI

This commit is contained in:
Alan Orth 2020-05-31 17:35:04 +03:00
parent 0c44b967b6
commit 56f16e37ed
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,19 +1,16 @@
image: archlinux image: archlinux
packages: packages:
- python-pipenv - python-poetry
sources: sources:
- https://git.sr.ht/~alanorth/csv-metadata-quality - https://git.sr.ht/~alanorth/csv-metadata-quality
tasks: tasks:
- setup: | - setup: |
cd csv-metadata-quality cd csv-metadata-quality
pipenv install --dev poetry install --dev
- pytest: | - pytest: |
cd csv-metadata-quality cd csv-metadata-quality
pipenv run pytest poetry run pytest
- testcli: | - testcli: |
cd csv-metadata-quality cd csv-metadata-quality
pipenv run pip install . poetry run pip install .
pipenv run csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e -u --agrovoc-fields dc.subject,cg.coverage.country poetry run csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e -u --agrovoc-fields dc.subject,cg.coverage.country
environment:
PIPENV_NOSPIN: 'True'
PIPENV_HIDE_EMOJIS: 'True'