Reconnect on max_age GoAway #2427
This file contains hidden or 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: Run README tests | |
on: | |
push: | |
branches: [ 'devnet_*', 'testnet_*' ] | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
# This allows a subsequently queued workflow run to interrupt previous runs on pull requests | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}' | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_INCREMENTAL: 0 | |
CARGO_NET_RETRY: 10 | |
RUST_BACKTRACE: full | |
# We allow redundant explicit links because `cargo rdme` doesn't know how to resolve implicit intra-crate links. | |
RUSTDOCFLAGS: -A rustdoc::redundant_explicit_links -D warnings | |
RUSTFLAGS: -D warnings | |
RUSTUP_MAX_RETRIES: 10 | |
RUST_LOG: linera=debug | |
RUST_LOG_FORMAT: plain | |
LINERA_STORAGE_SERVICE: 127.0.0.1:1235 | |
LINERA_WALLET: /tmp/local-linera-net/wallet_0.json | |
LINERA_KEYSTORE: /tmp/local-linera-net/keystore_0.json | |
LINERA_STORAGE: rocksdb:/tmp/local-linera-net/client_0.db | |
LINERA_FAUCET_URL: http://localhost:8079 | |
permissions: | |
contents: read | |
jobs: | |
test-readme-scripts: | |
if: ${{ github.event_name == 'merge_group' }} | |
runs-on: ubuntu-latest-16-cores | |
timeout-minutes: 40 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 10.11.0 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: jetli/[email protected] | |
with: | |
version: latest | |
- name: Build example applications | |
run: | | |
cd examples | |
cargo build --locked --release --target wasm32-unknown-unknown | |
cd .. | |
cargo build --locked -p linera-storage-service | |
- name: Run the storage-service instance and the README script tests | |
run: | | |
cargo test --locked -p linera-service --features storage-service -- test_script_in_readme --nocapture |