File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
packages/android/algokit_transact Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 3838 - name : Build AAR
3939 run : cargo pkg transact aar
4040
41+ - name : Verify test resources
42+ working-directory : packages/android/algokit_transact
43+ run : |
44+ echo "Checking for test resources..."
45+ ls -la src/test/resources/ || echo "No test resources directory found"
46+ if [ -f src/test/resources/libalgokit_transact_ffi.so ]; then
47+ echo "✓ Host library found for unit tests"
48+ file src/test/resources/libalgokit_transact_ffi.so
49+ else
50+ echo "✗ Host library NOT found - unit tests will fail"
51+ exit 1
52+ fi
53+
4154 - name : Test
4255 working-directory : packages/android/algokit_transact
4356 run : ./gradlew test
Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ android {
3636 kotlinOptions {
3737 jvmTarget = " 21"
3838 }
39+ testOptions {
40+ unitTests {
41+ isIncludeAndroidResources = true
42+ all {
43+ it.systemProperty(" jna.library.path" , " src/test/resources" )
44+ }
45+ }
46+ }
3947}
4048
4149dependencies {
You can’t perform that action at this time.
0 commit comments