File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Test SQL Server
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - feature/*
8+ - release/*
9+ pull_request :
10+ branches :
11+ - main
12+ - feature/*
13+ - release/*
14+
15+ permissions : {}
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-24.04
20+
21+ services :
22+ mssql :
23+ image : mcr.microsoft.com/mssql/server:2025-latest
24+ env :
25+ ACCEPT_EULA : " Y"
26+ SA_PASSWORD : " ${{ secrets.MSSQL_SA_PASSWORD }}"
27+ ports :
28+ - 1433:1433
29+ options : >-
30+ --health-cmd="/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P $SA_PASSWORD -Q 'SELECT 1' -C"
31+ --health-start-period=20s
32+ --health-interval=2s
33+ --health-retries=30
34+ --health-timeout=5s
35+
36+ steps :
37+ - name : Checkout
38+ uses : actions/checkout@v6
39+
40+ - name : Restore
41+ run : restore.sh
42+
43+ - name : Test on SQL Server
44+ run : dotnet test test/EFCore.SqlServer.FunctionalTests
45+
46+ - name : Publish Test Results
47+ uses : actions/upload-artifact@v6
48+ if : always()
49+ with :
50+ name : test-results
51+ path : artifacts/log/Debug/*
Original file line number Diff line number Diff line change 1919 <File Path =" .github/workflows/copilot-setup-steps.yml" />
2020 <File Path =" .github/workflows/inter-branch-merge-flow.yml" />
2121 <File Path =" .github/workflows/TestCosmos.yaml" />
22+ <File Path =" .github/workflows/TestSqlServer.yaml" />
2223 </Folder >
2324 <Folder Name =" /src/" >
2425 <File Path =" src/Directory.Build.props" />
You can’t perform that action at this time.
0 commit comments