2019-07-26 22:56:16 +02:00
|
|
|
image: archlinux
|
|
|
|
packages:
|
|
|
|
- python-pipenv
|
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~alanorth/csv-metadata-quality
|
|
|
|
tasks:
|
|
|
|
- setup: |
|
2019-07-26 23:41:57 +02:00
|
|
|
cd csv-metadata-quality
|
2019-07-26 23:38:34 +02:00
|
|
|
pipenv install --dev
|
2019-07-31 16:48:17 +02:00
|
|
|
- pytest: |
|
2019-07-26 23:38:34 +02:00
|
|
|
cd csv-metadata-quality
|
|
|
|
pipenv run pytest
|
2019-07-31 16:54:35 +02:00
|
|
|
- testcli: |
|
2019-07-31 16:48:17 +02:00
|
|
|
cd csv-metadata-quality
|
2019-07-31 16:58:10 +02:00
|
|
|
pipenv run pip install .
|
2019-09-26 13:11:35 +02:00
|
|
|
pipenv run csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e -u --agrovoc-fields dc.subject,cg.coverage.country
|
2019-07-26 22:56:16 +02:00
|
|
|
environment:
|
|
|
|
PIPENV_NOSPIN: 'True'
|
|
|
|
PIPENV_HIDE_EMOJIS: 'True'
|