2022-06-20 16:33:04 +03:00
.PHONY : test -bigquery
## test-bigquery: run tests for BigQuery backend
2022-07-22 13:56:03 +03:00
# will require some setup detailed here: https://github.com/hasura/graphql-engine-mono/tree/main/server/tests-hspec#required-setup-for-bigquery-tests
2022-07-20 14:20:35 +03:00
test-bigquery : start -postgres remove -tix -file
2022-07-22 13:56:03 +03:00
$( call stop_after, \
cabal run tests-hspec -- -m 'BigQuery' )
2022-06-20 16:33:04 +03:00
.PHONY : test -sqlserver
## test-sqlserver: run tests for SQL Server backend
2022-07-20 14:20:35 +03:00
test-sqlserver : start -postgres start -sqlserver remove -tix -file
2022-07-22 13:56:03 +03:00
$( call stop_after, \
cabal run tests-hspec -- -m 'SQLServer' )
2022-06-20 16:33:04 +03:00
.PHONY : test -mysql
## test-mysql: run tests for MySQL backend
2022-07-20 14:20:35 +03:00
test-mysql : start -postgres start -mysql remove -tix -file
2022-07-22 13:56:03 +03:00
$( call stop_after, \
cabal run tests-hspec -- -m 'MySQL' )
2022-06-20 16:33:04 +03:00
.PHONY : test -backends
## test-backends: run tests for all backends
2022-07-22 13:56:03 +03:00
# BigQuery tests will require some setup detailed here: https://github.com/hasura/graphql-engine-mono/tree/main/server/tests-hspec#required-setup-for-bigquery-tests
2022-07-20 14:20:35 +03:00
test-backends : start -backends remove -tix -file
2022-07-22 13:56:03 +03:00
$( call stop_after, \
cabal run tests-hspec)