Skip to content

Commit

Permalink
[build] Simplify ci.yml workflow (#3769)
Browse files Browse the repository at this point in the history
  • Loading branch information
chemicL committed Mar 21, 2024
1 parent 95b2ee7 commit 8e7f90b
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 8e7f90b

Please sign in to comment.