Skip to content

Merge pull request #64 from batoulapps/bump_kotlin #22

Merge pull request #64 from batoulapps/bump_kotlin

Merge pull request #64 from batoulapps/bump_kotlin #22

Workflow file for this run

name: KMP Pull Request
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
validate:
strategy:
matrix:
os: [ macOS-latest, ubuntu-latest ]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.version }}
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: Run tests for Linux, JVM, and Javascript
if: matrix.os == 'ubuntu-latest'
run: ./gradlew linuxX64Test jvmTest jsTest
- name: Run test on iOS
if: matrix.os == 'macOS-latest'
run: ./gradlew iosX64Test macOSX64Test
- uses: codecov/codecov-action@v3
if: matrix.os == 'ubuntu-latest'