RFR: 8284507: GHA: Only check test results if testing was not skipped

Christoph Langer clanger at openjdk.java.net
Thu Apr 7 08:01:55 UTC 2022


In GitHub Actions the step "Check that all tests executed successfully" will be marked as failing when the "Run tests" step did not run but some earlier step already failed. This is irritating and it can be corrected by doing the test check only if testing was not skipped.

Here is a link to such a test run where the check failed although the issue was with the cygwin installation: https://github.com/GoeLin/jdk11u-dev/runs/5788778433?check_suite_focus=true

-------------

Commit messages:
 - Do not check for successful test execution when testing was skipped

Changes: https://git.openjdk.java.net/jdk/pull/8139/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8139&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8284507
  Stats: 8 lines in 1 file changed: 4 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8139.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8139/head:pull/8139

PR: https://git.openjdk.java.net/jdk/pull/8139



More information about the build-dev mailing list