mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-12-22 20:22:18 +01:00
.build.yml: Use poetry in SourceHut CI
This commit is contained in:
parent
0c44b967b6
commit
56f16e37ed
13
.build.yml
13
.build.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user