From d35e87ace7a12211331813cca45b74d752199940 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Thu, 21 May 2020 12:11:40 -0400 Subject: [PATCH] test that CI works for version checking --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc5f900a1c..6f06516ee2 100644 --- a/Makefile +++ b/Makefile @@ -362,11 +362,11 @@ TEST_DIRS ?= awx/main/tests/unit awx/main/tests/functional awx/conf/tests awx/ss # Run all API unit tests. test: - cmp VERSION awxkit/VERSION || "`cat VERSION` != `cat awxkit/VERSION`; these version files *must* match" @if [ "$(VENV_BASE)" ]; then \ . $(VENV_BASE)/awx/bin/activate; \ fi; \ PYTHONDONTWRITEBYTECODE=1 py.test -p no:cacheprovider -n auto $(TEST_DIRS) + cmp VERSION awxkit/VERSION || "VERSION and awxkit/VERSION *must* match" cd awxkit && $(VENV_BASE)/awx/bin/tox -re py2,py3 awx-manage check_migrations --dry-run --check -n 'vNNN_missing_migration_file'