Skip to content

Commit

Permalink
refactor: create makefile target to execute integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
magajh committed Oct 15, 2024
1 parent c78183f commit d450cd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ upgrade: ## update the requirements/*.txt files with the latest packages satisfy
sed '/^[dD]jango==/d;' requirements/test.txt > requirements/test.tmp
mv requirements/test.tmp requirements/test.txt

run-integration-tests:
make install-dev-dependencies
pytest -rPf ./eox_tenant/test/integration

quality: clean ## check coding style with pycodestyle and pylint
$(TOX) pycodestyle ./eox_tenant
$(TOX) pylint ./eox_tenant --rcfile=./setup.cfg
Expand Down
6 changes: 1 addition & 5 deletions scripts/execute_integration_tests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#!/bin/bash

echo "Install test-requirements"
make install-dev-dependencies

echo "Run tests"
pytest -rPf ./eox_tenant/test/integration
make run-integration-tests

0 comments on commit d450cd3

Please sign in to comment.