Merge pull request #34 from sergejsha/dependabot/gradle/androidx.acti… #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
permissions: | |
checks: write | |
on: | |
pull_request: | |
paths-ignore: | |
- 'documentation/**' | |
- '*.md' | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- 'documentation/**' | |
- '*.md' | |
jobs: | |
test: | |
name: Run tests | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
task: testDebugUnit # jvm + android | |
- os: macos-latest | |
task: iosSimulatorArm64 | |
- os: ubuntu-latest | |
task: jsBrowser | |
- os: ubuntu-latest | |
task: wasmJsBrowser | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
- name: Setup Firefox browser | |
if: matrix.task == 'jsBrowser' || matrix.task == 'wasmJsBrowser' | |
uses: browser-actions/setup-firefox@v1 | |
- run: firefox --version | |
if: matrix.task == 'jsBrowser' || matrix.task == 'wasmJsBrowser' | |
- name: Run ${{ matrix.task }} test | |
run: ./gradlew ${{ matrix.task }}Test --stacktrace | |
- name: Publish ${{ matrix.task }} report | |
uses: mikepenz/action-junit-report@v4 | |
if: success() || failure() | |
with: | |
check_name: ${{ matrix.task }} | |
report_paths: "logger/build/test-results/${{ matrix.task }}Test/TEST-*.xml" |