Clean up right/left shift code and add tests for edge cases (#64) #250
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: Test | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
pull_request: | |
branches: [ main ] | |
paths: | |
- 'arbi/**' | |
- 'examples/**' | |
workflow_dispatch: | |
jobs: | |
rust-stable-build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup update stable && rustup override set stable | |
- run: cargo build --verbose | |
- run: cargo test --verbose --features "std,rand" | |
rust-1point65-build-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: rustup toolchain install 1.65.0 && rustup override set 1.65.0 | |
- run: cargo build --verbose | |
- run: cargo test --verbose --features "std,rand" |