From 82ea80aba71c43729f8f2c24096ef859f2d5c39b Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Tue, 24 Jan 2023 12:22:24 -0800 Subject: [PATCH] Skip openj9 in PR build (#7641) to help offset new parallelization in #7639 --- .github/workflows/build-common.yml | 4 ++++ .github/workflows/build-pull-request.yml | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-common.yml b/.github/workflows/build-common.yml index 5a2d75445de5..e5b1021fa358 100644 --- a/.github/workflows/build-common.yml +++ b/.github/workflows/build-common.yml @@ -9,6 +9,9 @@ on: no-build-cache: type: boolean required: false + skip-openj9-tests: + type: boolean + required: false skip-windows-smoke-tests: type: boolean required: false @@ -144,6 +147,7 @@ jobs: - hotspot - openj9 exclude: + - vm: ${{ inputs.skip-openj9-tests && 'openj9' || '' }} - test-java-version: 19 vm: openj9 fail-fast: false diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index bdcef01de673..8f5cec35f7f1 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -11,8 +11,9 @@ jobs: common: uses: ./.github/workflows/build-common.yml with: - # windows smoke tests are slower, and it's rare for only the windows smoke tests to break - skip-windows-smoke-tests: false + # it's rare for only the openj9 tests or the windows smoke tests to break + skip-openj9-tests: true + skip-windows-smoke-tests: true cache-read-only: true test-latest-deps: