Skip to content

Commit

Permalink
Add separate test suite runs to the CI for different platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Vejdemo-Johansson committed Nov 22, 2023
1 parent 7fc7c4e commit 9a7f026
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a7f026

Please sign in to comment.