mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
chore(tests): run pro api-tests for all native databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8892 GitOrigin-RevId: 6bf2629e676471ff94a34746beacb08cad14f4d0
This commit is contained in:
parent
e24bcf2a39
commit
7e20fd9088
@ -111,6 +111,41 @@ test-backends-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
cabal run api-tests-pro:exe:api-tests-pro
|
||||
|
||||
.PHONY: test-postgres-pro
|
||||
## test-postgres-pro: run tests for HGE pro for postgres
|
||||
test-postgres-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
HASURA_TEST_BACKEND_TYPE=Postgres \
|
||||
cabal run api-tests-pro:exe:api-tests-pro
|
||||
|
||||
.PHONY: test-citus-pro
|
||||
## test-citus-pro: run tests for HGE pro for citus
|
||||
test-citus-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
HASURA_TEST_BACKEND_TYPE=Citus \
|
||||
cabal run api-tests-pro:exe:api-tests-pro -- --match "Citus"
|
||||
|
||||
.PHONY: test-cockroach-pro
|
||||
## test-cockroach-pro: run tests for HGE pro for Cockroach
|
||||
test-cockroach-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
HASURA_TEST_BACKEND_TYPE=Cockroach \
|
||||
cabal run api-tests-pro:exe:api-tests-pro -- --match "Cockroach"
|
||||
|
||||
.PHONY: test-sqlserver-pro
|
||||
## test-sqlserver-pro: run tests for HGE pro for SQLServer
|
||||
test-sqlserver-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
HASURA_TEST_BACKEND_TYPE=SQLServer \
|
||||
cabal run api-tests-pro:exe:api-tests-pro -- --match "SQLServer"
|
||||
|
||||
.PHONY: test-bigquery-pro
|
||||
## test-bigquery-pro: run tests for HGE pro for BigQuery
|
||||
test-bigquery-pro: build-pro start-backends remove-tix-file
|
||||
GRAPHQL_ENGINE=$(GRAPHQL_ENGINE_PRO_PATH) \
|
||||
HASURA_TEST_BACKEND_TYPE=BigQuery \
|
||||
cabal run api-tests-pro:exe:api-tests-pro -- --match "BigQuery"
|
||||
|
||||
.PHONY: test-unit
|
||||
## test-unit: run unit tests from main suite
|
||||
test-unit: remove-tix-file
|
||||
|
Loading…
Reference in New Issue
Block a user