Skip to content

Commit

Permalink
updated test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lukegre committed Oct 9, 2020
1 parent 2cbd7ef commit 429cd82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Linting and testing
run: |
pipenv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
pipenv run flake8 . --count --exit-zero --max-complexity=50 --max-line-length=127 --statistics
pipenv run flake8 . --count --exit-zero --max-complexity=50 --max-line-length=90 --statistics
pipenv run pytest --cov --cov-fail-under=20
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- run: pipenv run isort --recursive --diff .
- run: pipenv run black --check .
- run: pipenv run flake8
- run: pipenv run flake8 --max-line-length=88
- run: pipenv run pytest --cov --cov-fail-under=20

1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ line_length=88

[tool:pytest]
testpaths=tests/
adopts= --cov --cov-fail-under=20

[doc8]
# https://pypi.org/project/doc8/
Expand Down

0 comments on commit 429cd82

Please sign in to comment.