Skip to content

Commit

Permalink
Update GitHub Actions workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
hunyadi committed Jan 9, 2024
1 parent 0aa49aa commit 7184dc7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yaml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
name: pysqlsync database tests

on:
push:
paths:
- pysqlsync/**
- tests/**
workflow_dispatch:

defaults:
Expand Down Expand Up @@ -64,11 +68,12 @@ jobs:
env:
ACCEPT_EULA: Y
MSSQL_SA_PASSWORD: "<YourStrong@Passw0rd>"
SQLCMDPASSWORD: "<YourStrong@Passw0rd>"
ports:
- 1433:1433
# set health checks to wait until Microsoft SQL Server has started
options: >-
--health-cmd '/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$SA_PASSWORD" -Q "SELECT 1" -b'
--health-cmd "/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -Q 'SELECT 1' -b"
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand Down

0 comments on commit 7184dc7

Please sign in to comment.