Move the derandomize opts to lib.rs, differentiate #123
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: Build and test | |
on: | |
push: | |
branches-ignore: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test_rust: | |
name: Build and test Rust code | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup toolchain | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Build binary | |
run: cargo build --features cli --verbose | |
- name: Run unit and integration tests | |
run: cargo test --no-fail-fast --verbose |