Comments (5)
Oh I see now. It's not the step which fails:
You are referencing to the status of the check:
https://github.com/mikepenz/action-junit-report/blob/main/src/annotator.ts#L96
Currently that one will have the respective conclusion of the test results.
If you only want the annotation you could enable annotate_only=true
and have a job summary
being posted at the end
from action-junit-report.
@fasmat do you have some additional details on this please.
The action fails either if:
- token missing https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L12-L15
- no test cases are found https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L75-L80
- there is a failure and the flag is
true
https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L124-L126 - there was an exception https://github.com/mikepenz/action-junit-report/blob/main/src/main.ts#L129-L131
It would be helpful to see with what message it fails.
from action-junit-report.
Hi @mikepenz, thanks for your quick response.
A token is set, and tests cases were found. When all tests pass the build step is marked as successful and shows the number of executed and skipped tests.
If some tests fail the step executing the tests is marked as successful, but the step using mikepenz/action-junit-report@v3
using fail_on_failure: false
is marked as failing:
from action-junit-report.
The full run can be found here: https://github.com/spacemeshos/go-spacemesh/actions/runs/3183085385
and the relevant lines in the pipeline configuration are here: https://github.com/spacemeshos/go-spacemesh/blob/c814f43c67b66a260f979aa58097e4909b4f0abc/.github/workflows/ci.yml#L162-L174
from action-junit-report.
annotate_only=true
did the trick. Thanks 😃
from action-junit-report.
Related Issues (20)
- Doesn't include errors HOT 3
- Annotation truncates failure output/callstack HOT 6
- Skipping all Annotations HOT 14
- Support ESLint or Jest junit reports HOT 6
- Different line number representation (xunit) HOT 3
- Weird behavior with multiple `report_paths` and failures not being processed HOT 4
- Test report stopped working without change HOT 8
- require_tests flag is not working HOT 5
- Editor points out that github_token is required HOT 1
- Skipped tests are show as passed when included_passed set to true HOT 3
- Test failures not correctly recognized HOT 8
- action using deprecate 'set-output' command HOT 2
- Documentation for Maven Surefire HOT 2
- Out of memory error on large project HOT 14
- Failed tests are not shown in Annotations HOT 9
- Check Run Not Created when update_check: true HOT 2
- act error: Error: The runs.using key in action.yml must be one of: [composite docker node12 node16], got node20 HOT 4
- Invalid character entity when using with dastardly HOT 6
- Error: Converting circular structure to JSON HOT 9
- Option to explicitly fail check run HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from action-junit-report.