2019-07-26 22:56:16 +02:00
|
|
|
image: archlinux
|
|
|
|
packages:
|
2020-05-31 16:35:04 +02:00
|
|
|
- python-poetry
|
2019-07-26 22:56:16 +02:00
|
|
|
sources:
|
|
|
|
- https://git.sr.ht/~alanorth/csv-metadata-quality
|
|
|
|
tasks:
|
|
|
|
- setup: |
|
2019-07-26 23:41:57 +02:00
|
|
|
cd csv-metadata-quality
|
2020-05-31 16:37:09 +02:00
|
|
|
poetry install
|
2019-07-31 16:48:17 +02:00
|
|
|
- pytest: |
|
2019-07-26 23:38:34 +02:00
|
|
|
cd csv-metadata-quality
|
2020-05-31 16:35:04 +02:00
|
|
|
poetry run pytest
|
2019-07-31 16:54:35 +02:00
|
|
|
- testcli: |
|
2019-07-31 16:48:17 +02:00
|
|
|
cd csv-metadata-quality
|
2020-05-31 16:35:04 +02:00
|
|
|
poetry run csv-metadata-quality -i data/test.csv -o /tmp/test.csv -e -u --agrovoc-fields dc.subject,cg.coverage.country
|