Skip to content

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

Merged
charpeni merged 5 commits into
bundlewatch:masterfrom
charpeni:fix-circleci-no-failing
Jan 14, 2022
Merged

chore: fix CircleCI steps not passing exit codes properly#447
charpeni merged 5 commits into
bundlewatch:masterfrom
charpeni:fix-circleci-no-failing

Conversation

@charpeni

@charpeni charpeni commented Jan 14, 2022

Copy link
Copy Markdown
Member

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.

1 participant