1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-12-22 12:12:18 +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
packages:
- python-pipenv
- python-poetry
sources:
- https://git.sr.ht/~alanorth/csv-metadata-quality
tasks:
- setup: |
cd csv-metadata-quality
pipenv install --dev
poetry install --dev
- pytest: |
cd csv-metadata-quality
pipenv run pytest
poetry run pytest
- testcli: |
cd csv-metadata-quality
pipenv 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
environment:
PIPENV_NOSPIN: 'True'
PIPENV_HIDE_EMOJIS: 'True'
poetry run pip install .
poetry run csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e -u --agrovoc-fields dc.subject,cg.coverage.country