From 56f16e37eddcddcb3eac4a30b2959e0b3f711e36 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 31 May 2020 17:35:04 +0300 Subject: [PATCH] .build.yml: Use poetry in SourceHut CI --- .build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.build.yml b/.build.yml index e340ac0..5ce7837 100644 --- a/.build.yml +++ b/.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