From 6fe555c414fd02600083cb7c4b4a3de65bfe0e24 Mon Sep 17 00:00:00 2001 From: Sahara Yousuf Date: Fri, 19 Jan 2024 11:26:32 -0600 Subject: [PATCH] Add CI step to run the sample --- .github/workflows/test-kotlin-samples.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-kotlin-samples.yml b/.github/workflows/test-kotlin-samples.yml index c4c0597..a9ccbb2 100644 --- a/.github/workflows/test-kotlin-samples.yml +++ b/.github/workflows/test-kotlin-samples.yml @@ -29,6 +29,9 @@ jobs: - name: Unpack APDFL from Maven Central working-directory: ${{ matrix.dir }} run: mvn -e process-resources - - name: Compile and assemble sample JAR file with dependencies + - name: Compile and assemble sample JAR files with dependencies working-directory: ${{ matrix.dir }} run: mvn -e package + - name: Run samples + working-directory: ${{ matrix.dir }} + run: java -Djava.library.path=./target/lib -Dfile.encoding=UTF-8 -jar target/${{ matrix.dir }}-1.0-SNAPSHOT-jar-with-dependencies.jar