mirror of
https://github.com/ansible/awx.git
synced 2026-03-28 22:35:08 -02:30
Merge pull request #1289 from wwitzel3/devel
Fix test_coverage make target
This commit is contained in:
4
Makefile
4
Makefile
@@ -361,14 +361,14 @@ check: flake8 pep8 # pyflakes pylint
|
|||||||
|
|
||||||
# Run all API unit tests.
|
# Run all API unit tests.
|
||||||
test:
|
test:
|
||||||
py.test awx/main/tests awx/api/tests awx/fact/tests
|
py.test awx/main/tests awx/api/tests
|
||||||
|
|
||||||
test_unit:
|
test_unit:
|
||||||
py.test awx/main/tests/unit
|
py.test awx/main/tests/unit
|
||||||
|
|
||||||
# Run all API unit tests with coverage enabled.
|
# Run all API unit tests with coverage enabled.
|
||||||
test_coverage:
|
test_coverage:
|
||||||
py.test --create-db --cov=awx --cov-report=xml --junitxml=./reports/junit.xml awx/main/tests awx/api/tests awx/fact/tests
|
py.test --create-db --cov=awx --cov-report=xml --junitxml=./reports/junit.xml awx/main/tests awx/api/tests
|
||||||
|
|
||||||
# Output test coverage as HTML (into htmlcov directory).
|
# Output test coverage as HTML (into htmlcov directory).
|
||||||
coverage_html:
|
coverage_html:
|
||||||
|
|||||||
Reference in New Issue
Block a user