Feat/Add contra-bench-tps transfer load testing tool
#150
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: Program Integration Tests | |
| on: | |
| push: | |
| branches: [main, hardening/pre-release-audit] | |
| paths: | |
| - "contra-escrow-program/**" | |
| - "contra-withdraw-program/**" | |
| - "Cargo.*" | |
| - "Makefile" | |
| - ".github/workflows/program-integration.yml" | |
| - "scripts/**" | |
| pull_request: | |
| branches: [main, hardening/pre-release-audit] | |
| paths: | |
| - "contra-escrow-program/**" | |
| - "contra-withdraw-program/**" | |
| - "Cargo.*" | |
| - "Makefile" | |
| - ".github/workflows/program-integration.yml" | |
| - "scripts/**" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| RUST_LOG: info | |
| permissions: | |
| contents: read | |
| jobs: | |
| integration-test: | |
| name: Program Integration Tests | |
| runs-on: contra-runner-1 | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup environment | |
| uses: ./.github/actions/setup-environment | |
| with: | |
| install-base-cargo-tools: "false" | |
| build-programs: "false" | |
| - name: Build programs | |
| run: | | |
| make -C contra-escrow-program build | |
| make -C contra-withdraw-program build | |
| - name: Run escrow integration tests | |
| run: make -C contra-escrow-program integration-test-no-build | |
| - name: Run withdraw integration tests | |
| run: make -C contra-withdraw-program integration-test-no-build | |
| - name: Show failure logs | |
| if: failure() | |
| uses: ./.github/actions/show-failure-logs | |
| with: | |
| test-type: "Program integration" |