From 0e42ae5fae0868e0594193e13cfb5d0fccc43706 Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Thu, 5 Oct 2023 16:39:20 +0500 Subject: [PATCH] fix: fix test requirements in CI --- .travis/run_tests.sh | 3 +-- Makefile | 5 +---- tox.ini | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.travis/run_tests.sh b/.travis/run_tests.sh index b8c196c7..b112c68c 100755 --- a/.travis/run_tests.sh +++ b/.travis/run_tests.sh @@ -4,5 +4,4 @@ export DJANGO_SETTINGS_MODULE=notesserver.settings.test cd /edx/app/edx_notes_api/edx_notes_api -make test.test_requirements test - +make validate diff --git a/Makefile b/Makefile index 3128b24a..5031919b 100644 --- a/Makefile +++ b/Makefile @@ -57,10 +57,7 @@ static: # provide the static target for devstack's tooling. requirements: pip install -q -r requirements/base.txt --exists-action=w -test.requirements: requirements - pip install -q -r requirements/test.txt --exists-action=w - -test.test_requirements: +test.requirements: pip install -q -r requirements/test.txt --exists-action=w develop: test.requirements diff --git a/tox.ini b/tox.ini index 86175599..193a8372 100644 --- a/tox.ini +++ b/tox.ini @@ -20,4 +20,4 @@ passenv = whitelist_externals = make commands = - make test.test_requirements test + make validate