Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend behavior of fail-on-error option to setup failures #226

Merged
merged 28 commits into from
Oct 10, 2024

Conversation

afinetooth
Copy link
Member

@afinetooth afinetooth commented Oct 8, 2024

Parallel changes to the orb changes here: coverallsapp/orb#46

Description

Make sure the fail-on-error option's behavior also applies to failures of setup tasks, like:

  • Failure to download the binary;
  • Failure to verify the binary; and
  • Failure to find the downloaded binary after extraction.

Rather than just to failures of the coveralls commands:

  • coveralls report; or
  • coveralls done

To Do

  • Make sure fail-on-error behavior applies to any failures downloading, verifying the binary, or finding the binary after download and extraction in the environment
  • Enable shell-based debugging in setup steps on each OS, when debug: true option is set, so users have insight into setup failures.
  • Add a test.yml workflow to test the action in a matrix of each OS handled (ubuntu-latest | windows-latest | macos-latest) vs. each possible action (report | done).
    • Note: The "setup" tasks are implicitly being tested here because they run in each scenario. And the debug: true option will show which step failed on the given platform.

…binary and exit with error code 1 on failure except if fail-on-error input option is set to true.
…pecific installation step so we can keep a generic call to each coveralls command and not have to create OS-specific steps for those too.
…ferent MacOS versions. Add debugging to macos install step to help resolve the issue if I'm wrong.
…t and done actions. Add parallel-finished input option to dynamically set in the context of action = done so that we can test coevralls done instead of coveralls report.
…-based debugging flags. Add comments for parallel setup steps on each OS, more helpful now with the more verbose conditionals we added to check that each step succeeds.
@afinetooth afinetooth merged commit 1134c89 into main Oct 10, 2024
12 checks passed
@afinetooth afinetooth deleted the fix/extend-fail-on-error-to-setup-failures branch October 10, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant