adding documentation link to library section of readme #23
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: Rust Tests | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
test: | |
name: Run Cargo Tests | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code from the repository | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
# Install OpenMPI | |
- name: Install OpenMPI | |
run: sudo apt-get update && sudo apt-get install -y libopenmpi-dev openmpi-bin | |
# Set up Rust | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
# Cache Cargo dependencies | |
- name: Cache Cargo Dependencies | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/registry | |
~/.cargo/git | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
# Run cargo test | |
- name: Run Tests | |
run: cargo test --all --verbose |