File tree Expand file tree Collapse file tree 2 files changed +15
-28
lines changed
SharpCoreDB/.github/workflows Expand file tree Collapse file tree 2 files changed +15
-28
lines changed Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10- build-and-test :
11- runs-on : ubuntu-latest
12- timeout-minutes : 15
10+ build :
11+ runs-on : windows-latest
1312
1413 steps :
1514 - uses : actions/checkout@v4
1615
1716 - name : Setup .NET
1817 uses : actions/setup-dotnet@v4
1918 with :
20- dotnet-version : ' 10.0.x '
19+ dotnet-version : 10.0.100
2120 include-prerelease : true
2221
23- - name : Restore dependencies
24- run : dotnet restore
22+ - name : Show .NET SDK and MSBuild versions
23+ run : |
24+ dotnet --version
25+ dotnet --info
26+ dotnet msbuild -version
2527
26- - name : Build
27- run : dotnet build --no- restore --configuration Release
28+ - name : Restore workloads
29+ run : dotnet workload restore
2830
29- - name : Test with detailed logging
30- id : test
31- continue-on-error : true # zodat we altijd artifacts krijgen
32- run : |
33- dotnet test --no-build --configuration Release \
34- --logger "trx;LogFileName=TestResults.trx" \
35- --logger "console;verbosity=detailed" \
36- --collect:"XPlat Code Coverage" \
37- --results-directory ./TestResults \
38- --blame-hang-timeout 2m \
39- /p:CollectCoverage=true
40-
41- - name : Upload test results (always)
42- if : always()
43- uses : actions/upload-artifact@v4
44- with :
45- name : test-results-trx
46- path : |
47- **/TestResults/*.trx
48- **/*.coverage
31+ - name : Restore packages
32+ run : dotnet restore SharpCoreDB.sln
33+
34+ - name : Build
35+ run : dotnet build SharpCoreDB.sln -c Release --no-restore
You can’t perform that action at this time.
0 commit comments