File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ dotnet-version : [ "8.0" ]
12+
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - name : Setup dotnet
17+ uses : actions/setup-dotnet@v3
18+ with :
19+ dotnet-version : ${{ matrix.dotnet-version }}
20+
21+ - name : Install dependencies
22+ run : dotnet restore
23+
24+ - name : Test with dotnet
25+ run : dotnet test --logger trx --results-directory "TestResults-${{ matrix.dotnet-version }}"
26+
27+ - name : Upload dotnet test results
28+ uses : actions/upload-artifact@v4
29+ with :
30+ name : dotnet-results-${{ matrix.dotnet-version }}
31+ path : TestResults-${{ matrix.dotnet-version }}
32+ # Use always() to always run this step to publish test results when there are test failures
33+ if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments