Closed matheuzsrlog closed 8 months ago
Hello @matheuzsrlog,
Are you running this action in public repo? It would be easier if I could check logs by myself. Also, if it is possible, could you please upload your report.json
file here?
No. My repository is not a public. :/ And, I don't have my artefact report.json, I think that is can to be also, my cache limit.
When checking my artifacts I have these related to coverage. But not report.json (this could also be the problem, I'm checking)
report.json
is not stored as artifact, so that's not the problem.
Can you please run
npx jest --ci --json --coverage --testLocationInResults --outputFile=report.json
And post report.json
file here or send an email to maintainers@covbot.dev
?
maintainers@covbot.dev
Do you receive my email? I am think that no sended.
Yes, thank you, will look into it
I have 0 clue why this is happening, tried some random fix, can you please check if it works? Just modify your action.yaml
like so:
- uses: ArtiomTr/jest-coverage-report-action@Invalid-annotations-schema
Thank you, I am go try it!
Good job, it work out! Thank very much!
Was this the solution? https://github.com/ArtiomTr/jest-coverage-report-action/commit/303b93834588deb81728f967f8118a11cdf6134b
Yep, seems like annotations array cannot be empty. I will do another fix, so it covers both this issue and #383
Added other fix, but it should do almost the same as previous one. Could you please check, if v2.2.9
works for you?
Added other fix, but it should do almost the same as previous one. Could you please check, if
v2.2.9
works for you?
Only change for - uses: ArtiomTr/jest-coverage-report-action@v2.2.9
, right?
Yep
All right!! Thanks man, good one for you!
Describe a bug
I have a problem with the step "Begin coverage annotations publication". It gives the error:
Error: HttpError: Validation Failed: {"resource":"CheckRun","code":"invalid","field":"annotations"}.
I don't know if it could be a permission error. More is happening. (I decided to open the issue, after all I didn't change anything about permissions beforehand)
Below I left a print with the output of the action
Expected behavior
Details
Action version: ArtiomTr/jest-coverage-report-action@df2b025553c31d68f84be6337843e277e2576844
OS, where your action is running (windows, linux): linux
action.yml file
```yml - uses: ArtiomTr/jest-coverage-report-action@df2b025553c31d68f84be6337843e277e2576844 ```Screenshots
![image](https://github.com/ArtiomTr/jest-coverage-report-action/assets/77068076/44d2b3c2-2c53-4a98-a2e4-0395112a0c7b)Additional context