diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef54ddfa..66cd54e7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: - name: Test with pytest run: | - pytest + pytest --cov=. --cov-report=term:skip-covered --cov-report=html:htmlcov --cov-fail-under=60 - name: Archive code coverage results uses: actions/upload-artifact@v2 diff --git a/pyproject.toml b/pyproject.toml index eb8047b6..5b415047 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,13 +84,6 @@ pre-commit = "^2.7.1" pytest-cov = "^2.10.1" 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] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api"