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:
parent
0c44b967b6
commit
56f16e37ed
13
.build.yml
13
.build.yml
@ -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'
|
|
||||||
|
Loading…
Reference in New Issue
Block a user