How to allow all status checks to completion

I’ve a project which has status checks for a matrix of language versions and OS’s

When its all passes, its fine. Usually when a check fails its a silly mistake and it doesn’t matter that remaining in-progress checks get cancelled. Occasionally, a check fails for an OS/language specific reason, but all the remaining checks will get cancelled and the information about where it passes and where it fails (which would be really useful) is not available.

How can I make it so that if one job of the matrix fails, it doesn’t cancel all remaining checks?

Hi @yalwan-iqvia ,

Please turn off fail-fast behavior of your workflow, eg:

jobs:
  job1:
    runs-on: ${{ matrix.os }}
    strategy:
<font color="#FF0000">fail-fast: false</font> matrix:
        os: [ubuntu-16.04, ubuntu-18.04]
        node: [6, 8, 10]

More details please check doc: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast

1 Like