-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
only_changed_files
option not working
#88
Comments
only_changed_files
option not working
Having exactly the same problem. |
I found the following ugly workaround (since I don't really know how to debug GitHub actions)
I backtracked to the following line cobertura-action/src/action.js Line 172 in 18d911b
In order to work as expected, the action needs to find an exact match between the filename found in the XML report and the list of files in the pull request. Now a very likely structure for dotnet projects using XUnit is to have a top level solution file and two folders The filenames matching could be more complex. Anyway, just wanted to say this GitHub action is awesome!!! |
We are using monorepo as well on our end and it seems like this PR fixes all issues and it works fine. Problem it seems is getting it in main branch 😞 |
I encountered the same issue, is there a plan to fix this? |
Hi team, any update? |
I have a dotnet / C# project using
5monkeys/cobertura-action@v13
, it works great with default valuesJust 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
Action executes without any problem
The text was updated successfully, but these errors were encountered: