Coverage File Not Being Created #25477
-
During the Action the coverage file should be created, which should then be picked up by SonarCloud. Unfortunately, it isnt being created - no error or anything, it just seems to get skipped! Here’re the relevant blocks in the Action:
Full Action is here. Any help would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Does the coverage file already exist in the repository? |
Beta Was this translation helpful? Give feedback.
-
Ah, no, it doesnt. I (wrongly) thought |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
You’re a star, thank you very much! |
Beta Was this translation helpful? Give feedback.
git add
the file, then do a regular commit. That works for new and changed files alike. Agit status
in between may be useful for debugging, so you can see if the right changes have been staged. 🙂