Is there any way to allow a single job to fail in a workflow without having a red X as a GH status? I noticed several closed Issues with no response on this topic.
More specifically, many automated build tools have an “allowed_failure” key. Is there any similar functionality or finer status control?
I just thought of a workaround for you that while not pretty and probably not suitable in certain cases may get you out of trouble. You could either do something like this:
steps:
- run:
name:
command: |
set -o errexit
tox
set -o errexit
You’ll need to do this for every step where you require this, an alternative is to do this:
I wondering if maybe there might even be something doable with the orbs feature in the 2.1 config that’s currently in preview. I’m thinking if the parameterisation is somehow able to be substituted into the command then it can be wrapped by setting the shell options to control how it handles non zero status returns for your commands.