Skip to content

Bump Gradle Wrapper from 8.6 to 8.7 (#58) #112

Bump Gradle Wrapper from 8.6 to 8.7 (#58)

Bump Gradle Wrapper from 8.6 to 8.7 (#58) #112

Workflow file for this run

name: 'Tests'
on:
pull_request:
push:
branches:
- main
jobs:
test-jvm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/wrapper
key: gradle-caches-jvm-v0-${{ hashFiles('build.gradle.kts', 'settings.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties', 'libs.versions.toml') }}
- name: Run tests
run: ./gradlew jvmTest
- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'JVM Test Reports'
report_paths: '**/build/test-results/jvmTest/TEST-*.xml'
test-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install libcurl
run: |
sudo apt-get update
sudo apt-get install -y libcurl4-gnutls-dev
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/wrapper
~/.konan
key: gradle-caches-linux-v0-${{ hashFiles('build.gradle.kts', 'settings.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties', 'libs.versions.toml') }}
- name: Run tests
run: ./gradlew linuxX64Test
- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Linux Test Reports'
report_paths: '**/build/test-results/linuxX64Test/TEST-*.xml'
test-darwin:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/wrapper
~/.konan
key: gradle-caches-darwin-v0-${{ hashFiles('build.gradle.kts', 'settings.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties', 'libs.versions.toml') }}
- name: Run tests
run: ./gradlew macosX64Test
- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Darwin Test Reports'
report_paths: '**/build/test-results/macosX64Test/TEST-*.xml'
test-mingw:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/jdks
~/.gradle/wrapper
~/.konan
key: gradle-caches-mingw-v0-${{ hashFiles('build.gradle.kts', 'settings.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties', 'libs.versions.toml') }}
- name: Run tests
run: ./gradlew.bat mingwX64Test --no-daemon
- name: Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
with:
check_name: 'Mingw Test Reports'
report_paths: '**/build/test-results/mingwX64Test/TEST-*.xml'