Full Check #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Full Check | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 14 * * 0" | |
permissions: read-all | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
branch: [ 3.5.x, 3.6.x, main ] | |
test-type: | |
- type: core | |
arguments: ":reactor-core:test --no-daemon" | |
- type: core-java21 | |
arguments: ":reactor-core:java21Test --no-daemon" | |
- type: other | |
arguments: "check -x :reactor-core:test -x :reactor-core:java21Test -x :reactor-core:java9Test -x spotlessCheck -x :reactor-core:jcstress --no-daemon" | |
- type: other-3-5-x | |
arguments: "check -x :reactor-core:test -x spotlessCheck -x :reactor-core:jcstress --no-daemon" | |
- type: jcstress | |
arguments: ":reactor-core:jcstress -Pjcstress.mode=default --no-daemon" | |
exclude: | |
- branch: [ 3.6.x, main ] | |
test-type: | |
type: other-3-5-x | |
- branch: 3.5.x | |
test-type: | |
type: [ core-java21, other ] | |
name: Test on ${{ matrix.branch }} - ${{ matrix.test-type.type }} tests | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4 | |
with: | |
ref: ${{ matrix.branch }} | |
- name: Download Java 9 | |
if: contains('main 3.6.x', matrix.branch) | |
run: ${GITHUB_WORKSPACE}/.github/setup.sh | |
shell: bash | |
- name: Setup Java 9 | |
if: contains('main 3.6.x', matrix.branch) | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # tag=v3 | |
with: | |
distribution: 'jdkfile' | |
java-version: 9.0.4 | |
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz | |
- name: Setup Java 21 | |
if: contains('main 3.6.x', matrix.branch) | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # tag=v3 | |
with: | |
distribution: 'temurin' | |
java-version: 21 | |
- name: Setup Java 8 | |
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # tag=v3 | |
with: | |
distribution: 'temurin' | |
java-version: 8 | |
- name: Run Gradle Tests | |
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # tag=v3 | |
with: | |
arguments: ${{ matrix.test-type.arguments }} |