While we can "fix" this by propagating the exit status in devel/test, I don't think devel/test is really appropriate for CI/CD, at least in its current developer-focused form. Our release process should ideally use a very similar test setup as CI does, or even be part of the CI/CD workflow.
The test step:
https://github.com/nextstrain/augur/blob/227f52681a5bbd183a7a4993996fcf54dfdb5a57/.github/workflows/release.yaml#L28
doesn't error on test failures because
devel/test
masks the exit status:https://github.com/nextstrain/augur/blob/227f52681a5bbd183a7a4993996fcf54dfdb5a57/devel/test#L28-L30
I noticed this with the 26.0.0 release just now, but it's been happening with past release workflow runs too.
While we can "fix" this by propagating the exit status in
devel/test
, I don't thinkdevel/test
is really appropriate for CI/CD, at least in its current developer-focused form. Our release process should ideally use a very similar test setup as CI does, or even be part of the CI/CD workflow.