diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73e949e653..1eabccdcd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,9 +39,17 @@ jobs: echo -e " \033[38;5;0;48;5;255m ./gradlew japicmp \033[0m" echo "" exit -1 - core: - name: core tests + run-tests: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + test-type: + - type: core + arguments: ":reactor-core:test --no-daemon" + - type: other + arguments: "check -x :reactor-core:test -x spotlessCheck -Pjcstress.mode=sanity --no-daemon" + name: ${{ matrix.test-type.type }} tests needs: preliminary steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4 @@ -50,20 +58,6 @@ jobs: distribution: 'temurin' java-version: 8 - uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # tag=v3 - name: gradle + name: Run Gradle Tests with: - arguments: :reactor-core:test --no-daemon - other: - name: other tests - runs-on: ubuntu-latest - needs: preliminary - steps: - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # tag=v4 - - uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # tag=v3 - with: - distribution: 'temurin' - java-version: 8 - - uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # tag=v3 - name: other tests - with: - arguments: check -x :reactor-core:test -x spotlessCheck --no-daemon -Pjcstress.mode=sanity + arguments: ${{ matrix.test-type.arguments }}