File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10- services :
11- mssql :
12- image : mcr.microsoft.com/mssql/server:2022-latest
13- ports :
14- - 1433:1433
15- env :
16- ACCEPT_EULA : Y
17- SA_PASSWORD : " StrongPassw0rd!"
18- options : >-
19- --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'StrongPassw0rd!' -Q 'SELECT 1'"
20- --health-interval=10s
21- --health-timeout=5s
22- --health-retries=5
10+ build_and_run_tests :
11+ runs-on : ubuntu-latest
12+ container : mcr.microsoft.com/dotnet/sdk:8.0
13+ services :
14+ mssql :
15+ image : mcr.microsoft.com/mssql/server:2022-latest
16+ ports :
17+ - 1433:1433
18+ env :
19+ ACCEPT_EULA : Y
20+ SA_PASSWORD : " StrongPassw0rd\! "
21+ options : >-
22+ --health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'StrongPassw0rd!' -Q 'SELECT 1'"
23+ --health-interval=10s
24+ --health-timeout=5s
25+ --health-retries=5
2326 steps :
2427 - uses : actions/checkout@v4
2528 - name : Install Node.js
2831 node-version : 18.15.0
2932 - name : Build
3033 run : dotnet build Balance/WebApp.csproj
31- - name : Run migrations
32- run : dotnet ef database update
34+ - name : Migrations
35+ run : dotnet ef database update --project Balance/WebApp.csproj
3336 - name : Test
3437 run : dotnet test Balance.Tests/Balance.Tests.csproj
You can’t perform that action at this time.
0 commit comments