File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change 11name : .NET Tests (collector)
22
33on :
4- push : { branches: [ "main" ] }
5- pull_request : { branches: [ "main" ] }
6- workflow_dispatch : {} # ← enables the “Run workflow” button
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+ workflow_dispatch : {}
79
810jobs :
911 test :
1012 runs-on : ubuntu-latest
11-
12- strategy :
13+ permissions :
14+ id-token : write # needed only if you use Codecov with OIDC
15+
16+ strategy :
1317 matrix :
1418 include :
1519 - name : UserManagementApi.Tests.Unit
1620 proj : UserManagementApi.Tests.Unit.csproj
1721 - name : UserManagementApi.Tests.Integration
1822 proj : UserManagementApi.Tests.Integration.csproj
19-
20- steps :
23+
24+ steps :
2125 - uses : actions/checkout@v4
2226
2327 - uses : actions/setup-dotnet@v4
@@ -52,14 +56,11 @@ jobs:
5256 TestResults/${{ matrix.name }}/**/coverage.info
5357 TestResults/${{ matrix.name }}/**/*.trx
5458
55- # Codecov (optional)
5659 - name : Upload to Codecov
5760 if : success()
5861 uses : codecov/codecov-action@v5
5962 with :
6063 files : TestResults/${{ matrix.name }}/**/coverage.info
6164 flags : ${{ matrix.name }}
6265 fail_ci_if_error : true
63- use_oidc : true
64- permissions :
65- id-token : write
66+ use_oidc : true
You can’t perform that action at this time.
0 commit comments