Skip to content

Kotlin SDK Scheduled Test #33

Kotlin SDK Scheduled Test

Kotlin SDK Scheduled Test #33

name: Kotlin SDK Scheduled Test
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
distribution: zulu
- name: Cache Konan
uses: ./.github/actions/cache-konan
- name: Cache Gradle
uses: ./.github/actions/cache-gradle
- name: Run all tests
run: ./gradlew allTests --stacktrace
shell: bash
- name: Archive results
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-results
path: build/reports/tests