From 497fb97cd502bb3f829b2b2f28c1829a273f801d Mon Sep 17 00:00:00 2001 From: Fumika Koyama Date: Tue, 7 Nov 2023 13:00:03 +0900 Subject: [PATCH] =?UTF-8?q?sqlcmd=E3=81=AE=E3=82=AA=E3=83=97=E3=82=B7?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=82=92=E8=BF=BD=E5=8A=A0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/samples-dressca-backend.ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/samples-dressca-backend.ci.yml b/.github/workflows/samples-dressca-backend.ci.yml index 56007644c..9ddb87a65 100644 --- a/.github/workflows/samples-dressca-backend.ci.yml +++ b/.github/workflows/samples-dressca-backend.ci.yml @@ -94,15 +94,15 @@ jobs: - name: 結合テスト用にSQL Serverをセットアップ run: | - sudo docker run --user root mcr.microsoft.com/mssql/server:2022-latest \ + sudo docker run mcr.microsoft.com/mssql/server:2022-latest \ -e "ACCEPT_EULA=Y" \ -e "MSSQL_SA_PASSWORD=P@ssw0rd" \ -p 1433:1433 --name sql1 \ --hostname sql1 \ -d \ mcr.microsoft.com/mssql/server:2022-latest - sudo docker exec -it --user root sql1 "bash" - /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;" + sudo docker exec -it sql1 "bash" + /opt/mssql-tools/bin/sqlcmd -No -S localhost -U SA -P "P@ssw0rd" -q "CREATE DATABASE Dressca.Eshop;" - id: run-tests name: テストの実行