Skip to content

[CHORE] Kotlin 1.9.21 #76

[CHORE] Kotlin 1.9.21

[CHORE] Kotlin 1.9.21 #76

Workflow file for this run

name: CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Cache gradle
uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Setup Java"
uses: actions/setup-java@v1
with:
java-version: 17
- name: Run common tests
run: ./gradlew :napier:test --stacktrace
- name: Run android tests
run: ./gradlew :napier:testReleaseUnitTest --stacktrace
- name: Run jvm tests
run: ./gradlew :napier:jvmTest --stacktrace
- name: Run ios(intel) tests
run: ./gradlew :napier:iosX64Test --stacktrace
- name: Run ios(apple silicon) tests
run: ./gradlew :napier:iosSimulatorArm64Test --stacktrace
- name: Run macos(intel) tests
run: ./gradlew :napier:macosX64Test --stacktrace
- name: Run macos(apple silicon) tests
run: ./gradlew :napier:macosArm64Test --stacktrace
- name: Run watchos(intel) tests
run: ./gradlew :napier:watchosX64Test --stacktrace
- name: Run watchos(apple silicon) tests
run: ./gradlew :napier:watchosSimulatorArm64Test --stacktrace
- name: Run tvos(intel) tests
run: ./gradlew :napier:tvosX64Test --stacktrace
- name: Run tvos(apple silicon) tests
run: ./gradlew :napier:tvosSimulatorArm64Test --stacktrace
- name: Run wasmJs tests
run: ./gradlew :napier:wasmJsTest --stacktrace
- name: Bundle the build report
if: failure()
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip
- name: Upload the build report
if: failure()
uses: actions/upload-artifact@master
with:
name: error-report
path: build-reports.zip