mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
4175b53395
We were previously using the Docker Compose file in the root directory for manual testing _and_ the server API tests. This splits them so we can e.g. add Yugabyte for easy manual testing. In the future, this will also allow us to use ephemeral ports for API test databases, while keeping the fixed ports for manual testing. PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7524 GitOrigin-RevId: 7244e296b0ed0ace9782b6f44f321933a9d9a49d
12 lines
198 B
Bash
Executable File
12 lines
198 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# required for test-server.sh
|
|
|
|
set -e
|
|
set -u
|
|
set -o pipefail
|
|
|
|
psql -c 'CREATE DATABASE gql_test2;'
|
|
psql -c 'CREATE DATABASE pg_source_1;'
|
|
psql -c 'CREATE DATABASE pg_source_2;'
|