Skip to content

Commit

Permalink
fix: fix test requirements in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Oct 5, 2023
1 parent 4ee3c36 commit 0e42ae5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ passenv =
whitelist_externals =
make
commands =
make test.test_requirements test
make validate

0 comments on commit 0e42ae5

Please sign in to comment.