Skip to content

Task should fail if the status checks don't pass #1956

@alexec

Description

@alexec

Consider this synthetic task:

  download-ui-dependencies:
    cmds:
      - yarn
    status:
      - test -d node_modules

This task should only be successful if the status checks pass. I end up doing this:

  download-ui-dependencies:
    cmds:
      - yarn
      - test -d node_modules
    status:
      - test -d node_modules

Would it be good to run the status checks after the task runs so we fail fast?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions