Skip to content

Commit

Permalink
docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Dec 5, 2024
1 parent ad2d398 commit b1c8af4
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/bindings-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
matrix:
os: [ubuntu-latest-16-cores, macos-latest, windows-latest-8-cores]
runs-on: ${{ matrix.os }}
services:
rpc:
image: stellar/quickstart:testing
ports:
- 8000:8000
env:
ENABLE_LOGS: true
NETWORK: local
ENABLE_SOROBAN_RPC: true
options: >-
--health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'"
--health-interval 10s
--health-timeout 5s
--health-retries 50
# services:
# rpc:
# image: stellar/quickstart:testing
# ports:
# - 8000:8000
# env:
# ENABLE_LOGS: true
# NETWORK: local
# ENABLE_SOROBAN_RPC: true
# options: >-
# --health-cmd "curl --no-progress-meter --fail-with-body -X POST \"http://localhost:8000/soroban/rpc\" -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"id\":8675309,\"method\":\"getNetwork\"}' && curl --no-progress-meter \"http://localhost:8000/friendbot\" | grep '\"invalid_field\": \"addr\"'"
# --health-interval 10s
# --health-timeout 5s
# --health-retries 50
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
Expand All @@ -38,6 +38,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: docker --version
- run: rustup update
- run: cargo build
- run: rustup target add wasm32-unknown-unknown
Expand Down

0 comments on commit b1c8af4

Please sign in to comment.