Skip to content

Commit

Permalink
build: remove --clear-cache from coverage runs
Browse files Browse the repository at this point in the history
  • Loading branch information
weibullguy committed Oct 8, 2024
1 parent fb5aeeb commit 6106181
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ install = "make PREFIX=$VIRTUAL_ENV install"
clean-test = "rm -f .coverage* cobertura.xml && rm -fr .pytest_cache"
run-unit = "pytest -m unit --no-cov --cache-clear tests"
run-integration = "pytest -m integration --no-cov --cache-clear tests"
run-cov-unit = "COVERAGE_FILE='.coverage.unit' pytest -m unit --cov-config=pyproject.toml --cov=ramstk --cov-branch --cov-report=term --cache-clear tests"
run-cov-integration = "COVERAGE_FILE='.coverage.integration' pytest -m integration --cov-config=pyproject.toml --cov=ramstk --cov-branch --cov-report=term --cache-clear tests"
run-cov-unit = "COVERAGE_FILE='.coverage.unit' pytest -m unit --cov-config=pyproject.toml --cov=ramstk --cov-branch --cov-report=term tests"
run-cov-integration = "COVERAGE_FILE='.coverage.integration' pytest -m integration --cov-config=pyproject.toml --cov=ramstk --cov-branch --cov-report=term tests"
run-cov-combine = "coverage combine .coverage.unit .coverage.integration"
run-cov-report = "coverage xml --rcfile=pyproject.toml"
run-ls = "ls -al ."
Expand Down Expand Up @@ -138,7 +138,8 @@ cov = [
"run-cov-integration",
]
cov-report = [
"run-ls",
"run-cov-combine",
"run-cov-report",
]

[tool.hatch.envs.lint]
Expand Down

0 comments on commit 6106181

Please sign in to comment.