Skip to content

Commit

Permalink
tests in parallel with xdist
Browse files Browse the repository at this point in the history
  • Loading branch information
hadrilec committed Jan 2, 2025
1 parent c228ca6 commit 50e39a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkgTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
#sudo apt-get install libgeos-dev
python -m pip install --upgrade pip
pip install flake8 pytest pytest-cov geopandas nbconvert matplotlib descartes parameterized
pip install flake8 pytest pytest-xdist pytest-cov geopandas nbconvert matplotlib descartes parameterized
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-extra.txt ]; then pip install -r requirements-extra.txt; fi
- name: Lint with flake8
Expand All @@ -49,7 +49,7 @@ jobs:
env:
sirene_key: ${{ secrets.SIRENE_KEY }}
run: |
pytest -v --cov
pytest -v --cov -n auto
- name: "Upload coverage to Codecov"
uses: codecov/codecov-action@v1
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 50e39a2

Please sign in to comment.