Skip to content

Commit

Permalink
Fix health command for MSSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
iliay-investing authored and W0rma committed Dec 6, 2024
1 parent 72dfccd commit a8d8f93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
ports:
- 1433:1433
options: >-
--health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'P@ssw0rd' -d master -Q 'SELECT COUNT(*) FROM master.dbo.spt_values;'"
--health-cmd "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'P@ssw0rd' -No -d master -Q 'SELECT COUNT(*) FROM master.dbo.spt_values;'"
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand All @@ -71,7 +71,7 @@ jobs:

steps:
- name: Create default database for sqlsrv as image does not support it
run: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'P@ssw0rd' -Q 'CREATE DATABASE codeception_test'
run: /opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'P@ssw0rd' -No -Q 'CREATE DATABASE codeception_test'

- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit a8d8f93

Please sign in to comment.