Skip to content

Commit

Permalink
Perform actual coverage check before running coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Jul 18, 2024
1 parent 4ebef24 commit a2b44fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -v --editable .[lint]
pip install -v --editable .[lint, test]
pip install "coveralls>=3.0.0"
- name: black check
Expand All @@ -55,6 +55,7 @@ jobs:
- name: coveralls check
run: |
python -m pytest --cov gstools --cov-report term-missing -v tests/
python -m coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -128,7 +129,7 @@ jobs:
- name: Run tests
run: |
pip install "numpy${{ matrix.ver.np }}" "scipy${{ matrix.ver.sp }}"
python -m pytest --cov gstools --cov-report term-missing -v tests/
python -m pytest -v tests/
- name: Build sdist
run: |
Expand Down

0 comments on commit a2b44fe

Please sign in to comment.