mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 06:26:00 -03:30
Removed awx/api/tests dir from Makefile since it no longer exists
This commit is contained in:
5
Makefile
5
Makefile
@@ -427,16 +427,17 @@ pylint: reports
|
|||||||
|
|
||||||
check: flake8 pep8 # pyflakes pylint
|
check: flake8 pep8 # pyflakes pylint
|
||||||
|
|
||||||
|
TEST_DIRS=awx/main/tests
|
||||||
# Run all API unit tests.
|
# Run all API unit tests.
|
||||||
test:
|
test:
|
||||||
py.test awx/main/tests awx/api/tests
|
py.test $(TEST_DIRS)
|
||||||
|
|
||||||
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
|
py.test --create-db --cov=awx --cov-report=xml --junitxml=./reports/junit.xml $(TEST_DIRS)
|
||||||
|
|
||||||
# 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