diff --git a/.github/workflows/samples-dressca-backend.ci.yml b/.github/workflows/samples-dressca-backend.ci.yml index 9ddb87a65..9f8e78a47 100644 --- a/.github/workflows/samples-dressca-backend.ci.yml +++ b/.github/workflows/samples-dressca-backend.ci.yml @@ -97,12 +97,13 @@ jobs: sudo docker run mcr.microsoft.com/mssql/server:2022-latest \ -e "ACCEPT_EULA=Y" \ -e "MSSQL_SA_PASSWORD=P@ssw0rd" \ + -v sqlvolume:/var/opt/mssql \ -p 1433:1433 --name sql1 \ --hostname sql1 \ -d \ mcr.microsoft.com/mssql/server:2022-latest sudo docker exec -it sql1 "bash" - /opt/mssql-tools/bin/sqlcmd -No -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;" + /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;" - id: run-tests name: テストの実行