Skip to content

Pin specific version of try-runtime-cli to fix CI #259

Pin specific version of try-runtime-cli to fix CI

Pin specific version of try-runtime-cli to fix CI #259

Workflow file for this run

name: Run tests
on:
pull_request:
workflow_dispatch:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C debug-assertions=y"
RUST_BACKTRACE: 1
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Free Disk Space
uses: jlumbroso/free-disk-space@main
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y build-essential git clang curl libssl-dev llvm libudev-dev make protobuf-compiler pkg-config git-restore-mtime
- name: Checkout
uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
- name: Run cargo test suite
run: cargo test -j2 --features runtime-benchmarks