Skip to content

Commit

Permalink
update coveralls to check unit/integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jveitchmichaelis committed Aug 12, 2023
1 parent 4f52b53 commit 83da019
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
- name: Unit tests with pytest
run: |
coverage run -m pytest
coverage run -m pytest test/unit
- name: Integration with pytest
run: |
coverage run -m pytest test/integration
- name: Coveralls
if: startsWith(matrix.os, 'ubuntu') && endsWith(matrix.python-version, 3.8)
uses: AndreMiras/coveralls-python-action@develop
Expand Down

0 comments on commit 83da019

Please sign in to comment.