This website uses cookies to ensure you get the best experience.
Learn more.
A report job should run after a failed test job so that it can publish diagnostic information, but the final deployment must still require successful tests. Where should the status override be applied?
Published
- Set if: failure() on the deployment job.
- Keep if: success() on the report job with needs: test and expect it to run after test fails.
- Permit report with always(), while retaining the test-success dependency for deployment.
- Set continue-on-error: true for all test steps and remove deployment dependencies.
Comments — 0
Sign in to comment