Skip to content

Merge pull request #284 from takahirom/ci-compare-with-base-branch #381

Merge pull request #284 from takahirom/ci-compare-with-base-branch

Merge pull request #284 from takahirom/ci-compare-with-base-branch #381

Workflow file for this run

name: plain-tests
on:
push:
branches:
- main
pull_request:
env:
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx6g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
distribution: 'zulu'
java-version: 19
- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: tests
id: test
run: |
./gradlew test --stacktrace -x testReleaseUnitTest
- name: include build tests
id: include-build-test
run: |
cd include-build
./gradlew test jvmTest --stacktrace -x testReleaseUnitTest
- uses: actions/upload-artifact@v3
if: ${{ always() }}
with:
name: tests-reports
path: |
**/build/reports
**/build/outputs/roborazzi
retention-days: 30