-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
CI build reports success on failed tests #251
Comments
This is ... interesting (added <snip>
sleep 60
docker-compose -f tests/st2tests.yaml up
echo $? |
So, I think what's happening is that we need to somehow push the exit code from the |
So sounds like |
Yeah ... fiddling with |
Also, I noticed I missed making the jobs dependent: docker-compose-up:
runs-on: ubuntu-latest
needs: [docker-compose-lint] The "needs" directive, i.e., if linting fails, don't bother doing what's next. |
|
Hehe, I'm not sure I'm fond of
Presumably that's from |
This is quite painful:
|
See https://github.com/StackStorm/st2-docker/actions/runs/3189178778/jobs/5202693378#step:5:20
where the BATS tests failed, but for some reason, the non-zero exit code is lost somewhere in between.
This is a bug and help wanted to fix it.
The text was updated successfully, but these errors were encountered: