mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 23:12:08 -03:30
🧪 Delegate source filtering to coverage.py (#15528)
This drops the coverage source spec from the `pytest` args as it's already configured in `coveragerc` which is a better place for keeping it.
This commit is contained in:
parent
9fbbe3cba0
commit
0a4370acf0
2
Makefile
2
Makefile
@ -353,7 +353,7 @@ test:
|
||||
|
||||
## Run all API unit tests with coverage enabled.
|
||||
test_coverage:
|
||||
$(MAKE) test PYTEST_ARGS="--create-db --cov=awx --cov-report=xml --junitxml=reports/junit.xml"
|
||||
$(MAKE) test PYTEST_ARGS="--create-db --cov --cov-report=xml --junitxml=reports/junit.xml"
|
||||
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
|
||||
then \
|
||||
echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user