Skip to content

Commit 6ebda27

Browse files
authored
Add smoke tests (#14338)
1 parent c165a2a commit 6ebda27

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/binaries.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ jobs:
288288
- name: Build runtime image and installer
289289
shell: bash
290290
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabgui:jpackage
291+
- name: Smoke test JabGui
292+
shell: bash
293+
run: |
294+
./gradlew :jabgui:run --args="--help"
291295
- name: Package JabGui application image
292296
shell: bash
293297
run: |
@@ -311,9 +315,18 @@ jobs:
311315
rm debian-binary control.tar.* data.tar.*
312316
mv -f jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}${{ matrix.suffix }}${{ matrix.archForDebianRepack }}_repackaged.deb jabref_${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}${{ matrix.suffix }}.deb
313317
318+
- name: Smoke test JabSrv-CLI
319+
shell: bash
320+
run: |
321+
./gradlew :jabsrv-cli:run --args="--help"
322+
314323
- name: Build JabKit
315324
shell: bash
316325
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabkit:jpackage
326+
- name: Smoke test JabKit
327+
shell: bash
328+
run: |
329+
./gradlew :jabkit:run --args="--help"
317330
- name: Package JabKit application image
318331
shell: bash
319332
run: |
@@ -323,6 +336,10 @@ jobs:
323336
- name: Build JabLS-CLI
324337
shell: bash
325338
run: ./gradlew -i -PprojVersion="${{ steps.gitversion.outputs.AssemblySemVer }}" -PprojVersionInfo="${{ steps.gitversion.outputs.InformationalVersion }}" :jabls-cli:jpackage
339+
- name: Smoke test JabLs-CLI
340+
shell: bash
341+
run: |
342+
./gradlew :jabls-cli:run --args="--help"
326343
- name: Package JabLS-CLI application image
327344
shell: bash
328345
run: |

0 commit comments

Comments
 (0)