Skip to content

Github Action: Run test did not failed when unit test failed #106

@Lee-W

Description

@Lee-W

Goal
Make pipeline failed once a step failed

Description
There are three steps in ./script/test. If the first two steps failed, but the third one passes, the pipeline will continue. It's because the third step will overwrite the status code and GitHub will not know the first two fail.

Solution
Split "Run test" into 3 separate steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions