Giter Club home page Giter Club logo

Comments (5)

mikepenz avatar mikepenz commented on June 9, 2024 1

Oh I see now. It's not the step which fails:
Screenshot 2022-10-04 at 17 56 16

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.

mikepenz avatar mikepenz commented on June 9, 2024

@fasmat do you have some additional details on this please.

The action fails either if:

It would be helpful to see with what message it fails.

from action-junit-report.

fasmat avatar fasmat commented on June 9, 2024

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:

Screenshot 2022-10-04 at 17 40 50

Screenshot 2022-10-04 at 17 40 58

from action-junit-report.

fasmat avatar fasmat commented on June 9, 2024

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.

fasmat avatar fasmat commented on June 9, 2024

annotate_only=true did the trick. Thanks 😃

from action-junit-report.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.