refactor: queue-based block production + better separation of node's mutable state #1432
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
name: run | |
on: | |
push: | |
branches: [main] | |
tags: | |
- 'v*' | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: unit-tests | |
strategy: | |
matrix: | |
platform: [macos-latest, ubuntu-22.04-github-hosted-16core] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install cargo-nextest | |
run: cargo install cargo-nextest | |
- name: Run tests | |
run: cargo nextest run |