-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
I have a dotnet / C# project using 5monkeys/cobertura-action@v13, it works great with default values
Just tried to add the option only_changed_files: true as the project is getting bigger but it does not seem to have any effect.
More precisely, the report is still created but only shows the header line for All files

Here is an extract of my GitHub workflow
test:
runs-on: ubuntu-latest
permissions:
statuses: write
checks: write
contents: write
pull-requests: write
actions: write
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Test
run: dotnet test --logger "trx;LogFileName=test-results.trx" --collect:"XPlat Code Coverage"
- name: Coverage Report
uses: 5monkeys/cobertura-action@v13
with:
path: backend-api/tests/TestResults/*/*.xml
minimum_coverage: 70
skip_covered: false
show_line: true
show_branch: true
show_class_names: false
only_changed_files: true
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
