Skip to content

Commit

Permalink
Smoke Test on GH Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
renatoathaydes committed Apr 26, 2024
1 parent bd38889 commit 39dc0b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
java-version: ${{ matrix.java }}
- uses: eskatos/gradle-command-action@v1
with:
arguments: check
arguments: check fatJar
- name: Publish Test Report
if: ${{ always() }}
uses: mikepenz/action-junit-report@v2
Expand All @@ -24,3 +24,9 @@ jobs:
- name: Build Rust Client
working-directory: ./jgrab-client
run: cargo build
- name: Smoke Test
shell: bash
run: |
mkdir .jgrab
cp jgrab-runner/build/libs/jgrab.jar .jgrab/"
jgrab-client/target/debug/jgrab-client -e '2 + 2'
3 changes: 1 addition & 2 deletions jgrab-runner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ tasks.register( 'fatJar', Jar ) {
'Implementation-Version': version,
'Main-Class': 'com.athaydes.jgrab.runner.JGrabRunner'
}
baseName = project.name
classifier = 'fat-jar'
archiveFileName = 'jgrab.jar'
from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree( it ) } }
with jar
}
Expand Down

0 comments on commit 39dc0b8

Please sign in to comment.