Skip to content

Commit 6182d68

Browse files
authored
Add back PYTEST_ARGS as PYTEST_ADOPTS (ansible#16024)
* Add back PYTEST_ARGS * use pytest adopts
1 parent 1a4dbcf commit 6182d68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ black: reports
315315
@chmod +x .git/hooks/pre-commit
316316

317317
genschema: reports
318-
$(MAKE) swagger PYTEST_ARGS="--genschema --create-db "
318+
$(MAKE) swagger PYTEST_ADDOPTS="--genschema --create-db "
319319
mv swagger.json schema.json
320320

321321
swagger: reports
@@ -354,7 +354,7 @@ live_test:
354354

355355
## Run all API unit tests with coverage enabled.
356356
test_coverage:
357-
$(MAKE) test PYTEST_ARGS="--create-db $(COVERAGE_ARGS)"
357+
$(MAKE) test PYTEST_ADDOPTS="--create-db $(COVERAGE_ARGS)"
358358
@if [ "${GITHUB_ACTIONS}" = "true" ]; \
359359
then \
360360
echo 'cov-report-files=awxkit/coverage.xml,reports/coverage.xml' >> "${GITHUB_OUTPUT}"; \

0 commit comments

Comments
 (0)