Skip to content

chore: fix CircleCI steps not passing exit codes properly #447

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

Merged
merged 5 commits into from
Jan 14, 2022

Conversation

charpeni
Copy link
Member

@charpeni charpeni commented Jan 14, 2022

What kind of change does this PR introduce?

Fixed a bug where exit codes weren't correctly passed to CircleCI.

Did you add tests for your changes?

Those are changing tests.

If relevant, link to documentation update:

N/A

Summary

We had 3 failed tests but CircleCI was still green because we weren't passing the exit codes properly.

Added -eo pipefail to the shell and I had to remove tests for GitHub Actions as we have issues testing them on CI because of the environment variables. Also, they were just testing ci-env, we should create better tests that will mock the expected environment.

Does this PR introduce a breaking change?

No.

Other information

@charpeni charpeni force-pushed the fix-circleci-no-failing branch from 0807866 to 96046a3 Compare January 14, 2022 18:15
@charpeni charpeni force-pushed the fix-circleci-no-failing branch from 96046a3 to 28e785d Compare January 14, 2022 18:16
@charpeni charpeni marked this pull request as ready for review January 14, 2022 20:58
@charpeni charpeni merged commit 2bfe75a into bundlewatch:master Jan 14, 2022
@charpeni charpeni deleted the fix-circleci-no-failing branch January 14, 2022 20:58
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.

None yet

1 participant