@@ -2,16 +2,16 @@ name: .NET Tests (collector)
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : [ "main", "master" ]
66 pull_request :
7- branches : [ "main" ]
7+ branches : [ "main", "master" ]
88 workflow_dispatch : {}
99
1010jobs :
1111 test :
1212 runs-on : ubuntu-latest
1313 permissions :
14- id-token : write # needed only if you use Codecov with OIDC
14+ id-token : write # only needed if you use Codecov with OIDC
1515
1616 strategy :
1717 matrix :
@@ -28,16 +28,16 @@ jobs:
2828 with :
2929 dotnet-version : ' 9.0.x'
3030
31- - name : Sanity: show files at repo root
31+ - name : ' Sanity - show files at repo root'
3232 run : ls -la
3333
34- - name : Restore
34+ - name : ' Restore'
3535 run : dotnet restore
3636
37- - name : Build (Release)
37+ - name : ' Build (Release)'
3838 run : dotnet build --configuration Release --no-restore
3939
40- - name : Test with coverage (collector -> LCOV)
40+ - name : ' Test with coverage (collector → LCOV)'
4141 run : |
4242 dotnet test "${{ matrix.proj }}" \
4343 --no-build \
4747 --logger "trx;LogFileName=${{ matrix.name }}.trx" \
4848 -v n
4949
50- - name : Upload coverage + TRX
50+ - name : ' Upload coverage + TRX'
5151 if : always()
5252 uses : actions/upload-artifact@v4
5353 with :
@@ -56,11 +56,11 @@ jobs:
5656 TestResults/${{ matrix.name }}/**/coverage.info
5757 TestResults/${{ matrix.name }}/**/*.trx
5858
59- - name : Upload to Codecov
59+ - name : ' Upload to Codecov'
6060 if : success()
6161 uses : codecov/codecov-action@v5
6262 with :
6363 files : TestResults/${{ matrix.name }}/**/coverage.info
6464 flags : ${{ matrix.name }}
6565 fail_ci_if_error : true
66- use_oidc : true
66+ use_oidc : true
0 commit comments