From 9a7f0268b5b0a1c637a674e7401e7ab947219147 Mon Sep 17 00:00:00 2001 From: Mikael Vejdemo-Johansson Date: Tue, 21 Nov 2023 22:59:58 -0500 Subject: [PATCH] Add separate test suite runs to the CI for different platforms. --- .github/workflows/gradle.yml | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 7badbf9f..c3eb28af 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -30,6 +30,51 @@ jobs: gradle-version: 8.4 - name: Execute full build and test run: ./gradlew build + jvm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + - name: Build + uses: gradle/gradle-build-action@v2 # v2.6.0 + with: + gradle-version: 8.4 + - name: Execute JVM tests + run: ./gradlew jvmTest + js: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + - name: Build + uses: gradle/gradle-build-action@v2 # v2.6.0 + with: + gradle-version: 8.4 + - name: Execute JS tests + run: ./gradlew jsTest + native: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + - name: Build + uses: gradle/gradle-build-action@v2 # v2.6.0 + with: + gradle-version: 8.4 + - name: Execute native tests + run: ./gradlew nativeTest lint: runs-on: ubuntu-latest steps: