2727 - name : Setup .NET
2828 uses : actions/setup-dotnet@v5
2929 with :
30- dotnet-version : 9 .0.x
30+ dotnet-version : 10 .0.x
3131 - name : Setup GitVersion
3232 uses :
gittools/actions/gitversion/[email protected] 3333 with :
@@ -50,16 +50,16 @@ jobs:
5050 - name : Build
5151 run : dotnet build /p:Version=${{ steps.version_step.outputs.fullSemVer }} --no-restore -c Debug -v n
5252 - name : Unit Tests
53- run : dotnet test -c Debug --no-build -v n -- -- filter-trait Category=Unit --ignore-exit-code 8
53+ run : dotnet test -c Debug --no-build -v n --filter-trait Category=Unit
5454 - name : Integration Tests
5555 run : |
56- dotnet test tests/HydraScript.IntegrationTests -c Debug --no-build -v n -- --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml
56+ dotnet test --project tests/HydraScript.IntegrationTests -c Debug --no-build -v n --coverage --coverage-output-format cobertura --coverage-output coverage.cobertura.xml
5757 mkdir coverage-report
5858 - name : Code Coverage Summary Report For Merge Request
5959 if : github.event_name == 'pull_request'
6060 uses : 5monkeys/cobertura-action@master
6161 with :
62- path : ./tests/HydraScript.IntegrationTests/bin/Debug/net9 .0/TestResults/coverage.cobertura.xml
62+ path : ./tests/HydraScript.IntegrationTests/bin/Debug/net10 .0/TestResults/coverage.cobertura.xml
6363 repo_token : ${{ secrets.GITHUB_TOKEN }}
6464 minimum_coverage : 80
6565 fail_below_threshold : true
7171 - name : ReportGenerator
7272 uses :
danielpalme/[email protected] 7373 with :
74- reports : ' ./tests/HydraScript.IntegrationTests/bin/Debug/net9 .0/TestResults/coverage.cobertura.xml'
74+ reports : ' ./tests/HydraScript.IntegrationTests/bin/Debug/net10 .0/TestResults/coverage.cobertura.xml'
7575 targetdir : ' ./coverage-report'
7676 - name : Upload coverage report artifact
7777 if : github.event_name == 'push'
8484 uses : actions/upload-artifact@v4
8585 with :
8686 name : windows_build_${{ steps.version_step.outputs.fullSemVer }}
87- path : ./src/HydraScript/bin/Debug/net9 .0
87+ path : ./src/HydraScript/bin/Debug/net10 .0
0 commit comments