Fix documentation rendering #417
Workflow file for this run
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
name: e2e | |
on: | |
push: | |
branches: [master, release/**] | |
pull_request: | |
jobs: | |
test: | |
name: test contract.Client | |
runs-on: ubuntu-22.04 | |
services: | |
rpc: | |
image: stellar/quickstart:testing@sha256:bef5c451e305c914e91964ec22e7a25b9f5276a706fe0357ac23125569d93f05 | |
ports: | |
- 8000:8000 | |
env: | |
ENABLE_LOGS: true | |
NETWORK: local | |
ENABLE_SOROBAN_RPC: true | |
PROTOCOL_VERSION: 21 | |
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 | |
with: | |
path: | | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
# Workaround for some `yarn` nonsense, see: | |
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210 | |
- run: rustup target add wasm32-unknown-unknown | |
- run: yarn install --network-concurrency 1 | |
- run: yarn build:prod | |
- run: yarn test:e2e | |