mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +08:00
remove --cov option from pytest to allow debugging in pycharm
This commit is contained in:
parent
71389b7e09
commit
a570a426d4
2 changed files with 1 additions and 8 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
|
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
pytest
|
pytest --cov=. --cov-report=term:skip-covered --cov-report=html:htmlcov --cov-fail-under=60
|
||||||
|
|
||||||
- name: Archive code coverage results
|
- name: Archive code coverage results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|
|
@ -84,13 +84,6 @@ pre-commit = "^2.7.1"
|
||||||
pytest-cov = "^2.10.1"
|
pytest-cov = "^2.10.1"
|
||||||
flake8 = "^3.8.4"
|
flake8 = "^3.8.4"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
|
||||||
addopts = """
|
|
||||||
--cov=.
|
|
||||||
--cov-report=term:skip-covered
|
|
||||||
--cov-report=html:htmlcov
|
|
||||||
--cov-fail-under=60
|
|
||||||
"""
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry>=0.12"]
|
requires = ["poetry>=0.12"]
|
||||||
build-backend = "poetry.masonry.api"
|
build-backend = "poetry.masonry.api"
|
||||||
|
|
Loading…
Reference in a new issue