forked from TBD54566975/tbdex-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue TBD54566975#94: Add acceptance tests run
- Loading branch information
1 parent
80cb5d5
commit 31ca9f3
Showing
1 changed file
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,7 +183,42 @@ jobs: | |
SIGN_KEY: ${{ secrets.GPG_SECRET_KEY }} | ||
|
||
- name: Upload Kotlin Test Results | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.0.0 | ||
with: | ||
name: kotlin-test-results | ||
path: bound/kt/target/surefire-reports/*.xml | ||
|
||
- name: Upload tbDEX w/ Dependencies JAR | ||
uses: actions/[email protected] | ||
with: | ||
name: tbdex-with-dependencies-jar | ||
path: bound/kt/target/*-with-dependencies.jar | ||
|
||
kotlin-acceptance-test: | ||
needs: kotlin-build-test-deploy-snapshot | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, macos-latest, macos-12 ] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: "adopt" | ||
java-version: "11" | ||
- name: Download tbDEX w/ Dependencies JAR | ||
uses: actions/[email protected] | ||
with: | ||
name: tbdex-with-dependencies-jar | ||
path: tests/jvm | ||
- name: Run Acceptance Tests | ||
run: | | ||
cd tests/jvm | ||
mv *-with-dependencies.jar tbdex-with-dependencies.jar | ||
javac TbdexAcceptanceTest.java \ | ||
-cp tbdex-with-dependencies.jar | ||
java -classpath tbdex-with-dependencies.jar:. \ | ||
TbdexAcceptanceTest |