Skip to content

Commit

Permalink
fix(ci): migration tests on mssql
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Aug 11, 2024
1 parent 680e3d7 commit 7b2f6a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

services:
wakapi:
build: .
Expand Down
2 changes: 0 additions & 2 deletions testing/compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3.7'

services:
postgres:
image: postgres:15
Expand Down
2 changes: 1 addition & 1 deletion testing/run_api_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if [ "$DB_TYPE" == "mssql" ]; then
sleep 5
echo "Creating database in mssql..."
docker compose -f "$script_dir/compose.yml" exec mssql \
/opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'Hard!password123' -Q 'CREATE DATABASE wakapi'
/opt/mssql-tools18/bin/sqlcmd -C -S localhost -U SA -P 'Hard!password123' -Q 'CREATE DATABASE wakapi'
fi

# Run original wakapi
Expand Down

0 comments on commit 7b2f6a3

Please sign in to comment.