refactor!: variable size writes for app storage #89
Workflow file for this run
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: "Test Suite" | |
| on: | |
| pull_request: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| - release/** | |
| - rust-core | |
| workflow_dispatch: | |
| inputs: | |
| run_long_tests: | |
| description: "Run long simulation tests" | |
| required: false | |
| default: "false" | |
| type: choice | |
| options: | |
| - "false" | |
| - "true" | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: cargo test (short) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install protoc | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - run: cargo test --workspace --all-targets | |
| long_tests: | |
| name: cargo test (long simulations) | |
| if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.run_long_tests == 'true' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install protoc | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - run: cargo test -p evolve_testapp --test simulation_long_tests -- --ignored | |
| e2e-docker: | |
| name: e2e (evd + ev-node docker) | |
| if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install protoc | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - name: Pull ev-node image | |
| run: docker pull ghcr.io/evstack/ev-node-grpc:main | |
| - name: Run e2e tests | |
| run: cargo test -p evd --test external_consensus_e2e -- --ignored --nocapture | |
| timeout-minutes: 10 | |
| fmt: | |
| name: cargo fmt | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - run: cargo fmt --all -- --check | |
| clippy: | |
| name: cargo clippy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install protoc | |
| run: sudo apt-get update && sudo apt-get install -y protobuf-compiler | |
| - run: cargo clippy --workspace --all-targets -- -D warnings |