[tooling] add make py-tests command

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7196
GitOrigin-RevId: 1507285bb42734a04bfb130f0cd1a0c28be2f3ca
This commit is contained in:
Daniel Harvey 2022-12-07 14:11:43 +00:00 committed by hasura-bot
parent f5ea45060a
commit d3ee6d46a9
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,7 @@ start-backends: build-backends
## stop-everything: tear down test databases
stop-everything:
docker compose down --volumes
cd server/tests-py && docker compose down --volumes
.PHONY: remove-tix-file
remove-tix-file:

View File

@ -85,3 +85,9 @@ test-integration-postgres: remove-tix-file
$(call stop_after, \
HASURA_GRAPHQL_DATABASE_URL='$(TEST_POSTGRES_URL)' \
cabal run graphql-engine:test:graphql-engine-test-postgres)
.PHONY: py-tests
## py-tests: run the python-based test suite
py-tests:
$(call stop_after, \
./server/tests-py/run-new.sh)