mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
[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:
parent
f5ea45060a
commit
d3ee6d46a9
@ -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:
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user