summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-02-29 20:55:02 +0100
committerGitHub <noreply@github.com>2024-02-29 20:55:02 +0100
commitec28eff7f72ef87d065a1ef7a0815442aff382fb (patch)
treed0d5759f0699b9adb37f5a0c38427c49f4ac44c6 /Makefile
parentRemoving Podman to use Docker again in the collection ci (#14938) (diff)
downloadawx-ec28eff7f72ef87d065a1ef7a0815442aff382fb.tar.xz
awx-ec28eff7f72ef87d065a1ef7a0815442aff382fb.zip
Convert swagger release fixture to env var (#14940)
`pytest awx/main/tests/docs --release=$(VERSION_TARGET)` where --release is required breaks test discovery and running in vscode (from within the container)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b49984fabc..a78e666ee7 100644
--- a/Makefile
+++ b/Makefile
@@ -305,7 +305,7 @@ swagger: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi; \
- (set -o pipefail && py.test $(PYTEST_ARGS) awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs --release=$(VERSION_TARGET) | tee reports/$@.report)
+ (set -o pipefail && py.test $(PYTEST_ARGS) awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs | tee reports/$@.report)
check: black