-
Notifications
You must be signed in to change notification settings - Fork 283
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
GitHub Actions Passing on Test Failures #386
Comments
Does this work? I think - name: Test
run: |
set -o pipefail
xcodebuild ... | xcpretty |
Sadly no, I have my I doubt it works since apparently the build couldn't even find the correct SDK to run (it's been a bit since I've updated):
This failure to even run the test suite when xcpretty was used and set pipefail still resulted in a passing build without errors. |
GitHub Actions is passing builds when there are errors in the test suite. This was reported on another issue:
I'm also having issues with xcpretty and github actions, I'm getting test failures but the pipeline still passes. is this going to be fixed any time soon?
Originally posted by @samshiffman321 in #368 (comment)
I would expect the workflow on GitHub Actions to fail when the test suite fails, instead it passes with flying colors. I'm using the following command per the documentation on the README to no avail:
It appears that
${PIPESTATUS[0]}
isn't accessible on GitHub Actions or isn't being set correctly.The text was updated successfully, but these errors were encountered: