1
0
mirror of https://github.com/ansible/awx.git synced 2026-02-05 09:45:21 +01:00

Create a new pytest folder for live system testing with normal services (#15688)

* PoC for running dev env tests

* Replace in github actions

* Try non interactive

* Move folder to better location

* Further streamlining of new test folders

* Consolidate fixture, add writeup docs

* Use star import

* Push the wait-for-job to the conftest
This commit is contained in:
Alan Rominger
2024-12-06 09:20:26 -05:00
committed by GitHub
parent 698a8aeb62
commit 1a35775c25
8 changed files with 105 additions and 62 deletions

View File

@@ -350,6 +350,9 @@ test:
cd awxkit && $(VENV_BASE)/awx/bin/tox -re py3
awx-manage check_migrations --dry-run --check -n 'missing_migration_file'
live_test:
cd awx/main/tests/live && py.test tests/
## Run all API unit tests with coverage enabled.
test_coverage:
$(MAKE) test PYTEST_ARGS="--create-db --cov --cov-report=xml --junitxml=reports/junit.xml"