Skip to content

Test #21

Test #21 #21

Workflow file for this run

name: Test
run-name: "Test #${{ github.run_number }}"
on:
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew jvmTest --stacktrace
- name: Upload the build report
if: failure()
uses: actions/upload-artifact@v4
with:
name: build-report
path: '**/build/reports'
build-jvm-jar:
name: Build JVM Jar
needs: [test]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- uses: gradle/actions/setup-gradle@v4
- run: ./gradlew jvmJar
- name: Upload JVM Jar
uses: actions/upload-artifact@v4
with:
name: jvm-jar
path: build/libs/pakku.jar
env:
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.project.kotlin.incremental.multiplatform=false -Dorg.gradle.project.kotlin.native.disableCompilerDaemon=true -Dorg.gradle.jvmargs="-Xmx5g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"