File tree Expand file tree Collapse file tree 2 files changed +27
-13
lines changed
Expand file tree Collapse file tree 2 files changed +27
-13
lines changed Original file line number Diff line number Diff line change 99
1010 runs-on : ubuntu-latest
1111
12+ services :
13+ sqlserver :
14+ image : mcr.microsoft.com/mssql/server:2019-latest
15+ ports :
16+ - 1433:1433
17+ env :
18+ SA_PASSWORD : YourStrong@Passw0rd
19+ ACCEPT_EULA : Y
20+ options : >-
21+ --health-cmd " /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'YourStrong@Passw0rd' -Q 'SELECT 1'"
22+ --health-interval=10s
23+ --health-timeout=5s
24+ --health-retries=10
25+
1226 steps :
1327 - uses : actions/checkout@v4
1428 - name : Setup .NET
Original file line number Diff line number Diff line change 44 "Id" : " SQLite" ,
55 "ConnectionString" : " Data Source=:memory:;version=3"
66 },
7- /*
8- {
9- "Id " : " SQLServer " ,
10- "ConnectionString" : " Data Source=whatever \\ whatever;Initial Catalog=Whatever;user=xxx;pwd=xxx;encrypt=false "
11- },
12- {
13- "Id" : " PostgreSQL" ,
14- "ConnectionString" : " Server=localhost;Port=5432;Database=dev;User Id=xxx;Password=xxx;"
15- },
16- {
17- "Id" : " Oracle" ,
18- "ConnectionString" : " Data Source=localhost:1521/xxx;User Id=xxx;Password=xxx"
19- }
7+ {
8+ "Id" : " SQLServer " ,
9+ "ConnectionString " : " Data Source=localhost;Initial Catalog=Whatever;user=sa;pwd=YourStrong@Passw0rd;encrypt=false "
10+ },
11+ /*
12+ {
13+ "Id" : " PostgreSQL" ,
14+ "ConnectionString" : " Server=localhost;Port=5432;Database=dev;User Id=xxx;Password=xxx;"
15+ },
16+ {
17+ "Id" : " Oracle" ,
18+ "ConnectionString" : " Data Source=localhost:1521/xxx;User Id=xxx;Password=xxx"
19+ }
2020 */
2121 ]
2222}
You can’t perform that action at this time.
0 commit comments