mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 20:37:39 -02: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:
committed by
GitHub
parent
9fbbe3cba0
commit
0a4370acf0
2
Makefile
2
Makefile
@@ -353,7 +353,7 @@ test:
|
|||||||
|
|
||||||
## Run all API unit tests with coverage enabled.
|
## Run all API unit tests with coverage enabled.
|
||||||
test_coverage:
|
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" ]; \
|
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
|
||||||
then \
|
then \
|
||||||
echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
echo 'cov-report-files=reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user