CloudShell
CloudShell copied to clipboard
[Feature Request] Throw warning instead of error if certain test cases fail
Since we are pulling packages from the Mariner OS, if Mariner updates their packages, it directly affects the build. An example would be when Mariner publishes a newer version of NodeJS. When we do the build with the newer version of NodeJS, the test (that checks the downloaded version against the 'expected' version) will fail. We want to change it so that those tests throw a warning instead of an error. We still want to be aware of the version change; however, it shouldn't result a failure in our test suite which leads to a CI build failure.
With the research that I've done, it doesn't seem like there is a trivial way to throw a warning. Instead, we can have a 'continue-on-error' for the certain test cases we 'allow' to fail.
Ref: https://github.com/isaacs/github/issues/1465 https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions