File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,13 +37,17 @@ function copy_original_env() {
3737 cp .env.bak .env
3838}
3939
40- if [ " $database_to_benchmark " = " mysql" ]; then
41- trap docker_destroy EXIT
42- docker_compose_up mysqldb
43- elif [ " $database_to_benchmark " = " postgresql" ]; then
44- trap docker_destroy EXIT
45- docker_compose_up postgresdb
46- elif [ " $database_to_benchmark " = " sqlite" ]; then
40+ if [ " $GITHUB_ACTIONS " = " true" ]; then
41+ if [ " $database_to_benchmark " = " mysql" ]; then
42+ trap docker_destroy EXIT
43+ docker_compose_up mysqldb
44+ elif [ " $database_to_benchmark " = " postgresql" ]; then
45+ trap docker_destroy EXIT
46+ docker_compose_up postgresdb
47+ fi
48+ fi
49+
50+ if [ " $database_to_benchmark " = " sqlite" ]; then
4751 cp .env .env.bak
4852 trap copy_original_env EXIT
4953 adjust_sqlite_connection_string
You can’t perform that action at this time.
0 commit comments