Skip to content

Commit

Permalink
🔧 build: lcov configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjrice committed Nov 5, 2023
1 parent e5a7155 commit b5b1bc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ autotest:
@autopytest .

coverage:
@pytest --cov=autopytest --cov-report=html,lcov
@pytest --cov=autopytest --cov-report=html --cov-report=lcov

test: # Run tests
@tox --parallel=all
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ pretty = true
cache_dir = ".cache/mypy"

[tool.pytest.ini_options]
addopts = "--ignore=fixtures"
addopts = "--ignore=fixtures --cov=autopytest --cov-report=term --cov-report=html --cov-report=lcov"
cache_dir = ".cache/pytest"
testpaths = [
"tests"
]
filterwarnings = "ignore:cannot collect test class 'TestFileStrategy'"


[tool.ruff]
cache-dir = ".cache/ruff"
fix = true
Expand Down

0 comments on commit b5b1bc5

Please sign in to comment.