Rework test framework to support genesis tooling and bridge client factory #563
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
# Runs integration tests. | |
name: Integration Tests | |
on: | |
pull_request: | |
merge_group: | |
push: | |
branches: [master] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_LOG: debug | |
RUST_BACKTRACE: full | |
jobs: | |
test: | |
name: Run integration tests and generate report | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 # better fail-safe than the default 360 in github actions | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cleanup space | |
uses: ./.github/actions/cleanup | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: Install latest nextest release | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: nextest | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: Run tests | |
run: | | |
cargo nextest run -p integration-tests --locked --profile ci --no-capture | |
- name: Test Summary | |
uses: test-summary/action@v2 | |
if: always() | |
with: | |
paths: "target/nextest/ci/junit.xml" |