Skip to content

Commit

Permalink
build: health check needs failing status
Browse files Browse the repository at this point in the history
  • Loading branch information
chadoh committed Oct 3, 2023
1 parent debde3b commit 1275260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
test:
name: test generated libraries
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
services:
rpc:
image: stellar/quickstart:testing@sha256:40636cdb1b9168b47e5dc120949fe3610ff914e8dd43409edb6fa66496bdd9c3
Expand All @@ -20,15 +20,15 @@ jobs:
NETWORK: local
ENABLE_SOROBAN_RPC: true
options: >-
--health-cmd "curl \"http://localhost:8000/friendbot\""
--health-cmd "curl --no-progress-meter --fail-with-body \"http://localhost:8000/friendbot\""
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- run: echo $CARGO_TARGET_DIR
- uses: actions/checkout@v3
- run: curl -X POST "http://localhost:8000/soroban/rpc"
- run: curl "http://localhost:8000/friendbot?addr=$(./soroban config identity address)"
- run: curl --no-progress-meter --fail-with-body -X POST "http://localhost:8000/soroban/rpc"
- run: curl --no-progress-meter --fail-with-body "http://localhost:8000/friendbot?addr=$(./soroban config identity address)"
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
- run: ./soroban config identity fund --network standalone
working-directory: cmd/crates/soroban-spec-typescript/ts-tests
Expand Down

0 comments on commit 1275260

Please sign in to comment.