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 : Run Tests
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ - develop
8+
9+ jobs :
10+ test-linux :
11+ runs-on : ubuntu-latest
12+ container :
13+ image : mcr.microsoft.com/dotnet/sdk:10.0
14+ steps :
15+ - uses : actions/checkout@v5
16+
17+ - name : Restore Dependencies (ubuntu)
18+ run : dotnet restore
19+
20+ - name : Build (ubuntu)
21+ run : dotnet build --configuration Release --no-restore
22+
23+ - name : Test (ubuntu)
24+ run : dotnet test --configuration Release --no-build
25+
26+ test-windows :
27+ runs-on : windows-2022
28+ steps :
29+ - uses : actions/checkout@v5
30+
31+ - name : Setup .NET
32+ uses : actions/setup-dotnet@v5
33+ with :
34+ dotnet-version : 10.0.x
35+
36+ - name : Restore Dependencies (windows)
37+ run : dotnet restore
38+
39+ - name : Build (windows)
40+ run : dotnet build --configuration Release --no-restore
41+
42+ - name : Test (windows)
43+ run : dotnet test --configuration Release --no-build
You can’t perform that action at this time.
0 commit comments