diff --git a/.github/workflows/build-common.yml b/.github/workflows/build-common.yml index 5a2d75445d..e5b1021fa3 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 bdcef01de6..8f5cec35f7 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: