File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed
Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -11,29 +11,26 @@ jobs:
1111 runs-on : ubuntu-latest
1212
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515
1616 - name : Setup .NET
17- uses : actions/setup-dotnet@v2
17+ uses : actions/setup-dotnet@v4
1818 with :
1919 dotnet-version : 8.0.x
2020 cache : true
2121
22- - name : Install dependencies
23- run : dotnet restore
24- working-directory : ./
22+ - name : Restore
23+ run : dotnet restore ./Phase06.sln
2524
2625 - name : Build
27- run : dotnet build --configuration Release --no-restore
28- working-directory : ./
26+ run : dotnet build ./Phase06.sln --configuration Release --no-restore
2927
30- - name : Test
31- run : dotnet test --no-restore --verbosity normal --collect:"XPlat Code Coverage"
32- working-directory : ./
28+ - name : Test (with coverage)
29+ run : dotnet test ./Phase06.sln --configuration Release --no-restore --collect:"XPlat Code Coverage" --verbosity normal
3330
34- - name : Publish code coverage reports to codecove.io
35- uses : codecov/codecov-action@v1
31+ - name : Upload coverage to Codecov
32+ uses : codecov/codecov-action@v4
3633 with :
3734 token : ${{ secrets.CODECOV_TOKEN }}
38- files : ./* */coverage.cobertura.xml
39- fail_ci_if_error : true
35+ files : **/TestResults/ */coverage.cobertura.xml
36+ fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments