File tree Expand file tree Collapse file tree 1 file changed +20
-11
lines changed
Expand file tree Collapse file tree 1 file changed +20
-11
lines changed Original file line number Diff line number Diff line change 1- # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3-
4- # This workflow uses actions that are not certified by GitHub.
5- # They are provided by a third-party and are governed by
6- # separate terms of service, privacy policy, and support
7- # documentation.
8-
91name : Java CI with Maven
102
113on :
1911 build :
2012 runs-on : ubuntu-latest
2113
14+ services :
15+ hiero-solo :
16+ image : ghcr.io/hiero-ledger/hiero-solo:v0.63.7
17+ ports :
18+ - 8080:8080
19+ env :
20+ installMirrorNode : true
21+
2222 steps :
2323 - name : Checkout Repo
2424 uses : actions/checkout@v4
@@ -37,11 +37,20 @@ jobs:
3737 installMirrorNode : true
3838 hieroVersion : v0.63.7
3939
40+ - name : Wait for Mirror Node
41+ run : |
42+ echo "Waiting for Mirror Node to be ready on http://localhost:8080..."
43+ until curl --output /dev/null --silent --head --fail http://localhost:8080/api/v1/health; do
44+ echo "Mirror Node not ready, waiting..."
45+ sleep 5
46+ done
47+ echo "Mirror Node is ready!"
48+
4049 - name : Build with Maven
4150 env :
42- spring_profiles_active : solo
51+ SPRING_PROFILES_ACTIVE : solo
4352 HEDERA_ACCOUNT_ID : ${{ steps.solo.outputs.accountId }}
4453 HEDERA_PRIVATE_KEY : ${{ steps.solo.outputs.privateKey }}
4554 HEDERA_NETWORK : hiero-solo-action
46- run : ./mvnw verify
47-
55+ MIRROR_NODE_URL : http://localhost:8080
56+ run : ./mvnw verify -B -e -X
You can’t perform that action at this time.
0 commit comments