diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 07c874f0..d84f9330 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,8 +25,8 @@ jobs: sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable sudo apt-get update sudo apt-get install gdal-bin libgdal-dev - pip install GDAL==3.4.3 pytest - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install GDAL==3.4.3 poetry + poetry install - name: Test with pytest run: | - pytest + poetry run pytest -v