Skip to content

Update dependency gradle to v8.11 #369

Update dependency gradle to v8.11

Update dependency gradle to v8.11 #369

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Cache Build files
uses: actions/cache@v4
with:
path: |
~/.konan
~/.gradle
%USERPROFILE%\.konan
%USERPROFILE%\.gradle
key: ${{ runner.os }}-${{ hashFiles('gradle.properties') }}
- uses: gradle/gradle-build-action@v3
name: Test Windows Target
if: ${{ startsWith(matrix.os, 'windows') }}
with:
arguments: windowsTest
- uses: gradle/gradle-build-action@v3
name: Test Apple Targets
if: ${{ startsWith(matrix.os, 'macos') }}
with:
arguments: macosX64Test
- uses: gradle/gradle-build-action@v3
name: Test Linux Target
if: ${{ startsWith(matrix.os, 'ubuntu') }}
with:
arguments: linuxX64Test
- uses: gradle/gradle-build-action@v3
name: Test JVM Target
with:
arguments: jvmTest
- name: Publish Test Reports
uses: mikepenz/action-junit-report@v4
if: always()
with:
report_paths: 'build/test-results/**/TEST-*.xml'
- name: Archive test reports
uses: actions/upload-artifact@v3
if: always()
with:
name: test-reports
path: build/reports/tests/**/**