Skip to content

Commit

Permalink
Suppress not test exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopeixoto committed Dec 11, 2021
1 parent c323787 commit 9d3c13a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
- name: install-package
run: pip install -e .[development]
- name: test-package
run: pytest
run: pytest --suppress-no-test-exit-code
- name: check-coverage
run: pytest --cov --cov-fail-under 80
run: pytest --suppress-no-test-exit-code --cov --cov-fail-under 80
build-publish:
runs-on: ubuntu-latest
environment: production
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def parse_long_description() -> str:
'pylint>=2.12.0',
'pytest>=6.2.0',
'pytest-cov>=3.0.0',
'pytest-custom-exit-code>=0.3.0',
'sphinx>=4.3.0',
'myst-parser>=0.15.0',
'pydata-sphinx-theme>=0.7.0',
Expand Down

0 comments on commit 9d3c13a

Please sign in to comment.