mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
Handle docker
when running make test-logical-models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8177 GitOrigin-RevId: 25faf2c94c5a605c49495e4da848683ae32c1927
This commit is contained in:
parent
1574125f10
commit
dd24a29419
@ -133,8 +133,12 @@ test-integration-postgres: remove-tix-file
|
||||
.PHONY: test-logical-models
|
||||
## test-logical-models: run all tests for the Logical Model feature
|
||||
test-logical-models:
|
||||
docker compose up -d --wait postgres
|
||||
HSPEC_MATCH=LogicalModels make test-unit
|
||||
HSPEC_MATCH=LogicalModels make test-postgres
|
||||
HASURA_TEST_BACKEND_TYPE=Postgres \
|
||||
HSPEC_MATCH=LogicalModels \
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PATH) \
|
||||
cabal run api-tests:exe:api-tests
|
||||
|
||||
.PHONY: py-tests
|
||||
## py-tests: run the python-based test suite
|
||||
|
Loading…
Reference in New Issue
Block a user