diff options
-rw-r--r-- | .github/workflows/CI.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d870b4e..fa42b2f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -56,19 +56,20 @@ jobs: run: | curl https://sh.rustup.rs -sSf | sh -s -- -y + - name: Setting Rust path + if: contains(matrix.os, 'macos') + run: echo "::add-path::${HOME}/.cargo/bin" + - name: Build run: | - export PATH="$HOME/.cargo/bin:$PATH" cargo build --verbose - name: Run tests run: | - export PATH="$HOME/.cargo/bin:$PATH" cargo test --verbose # TODO: integrate these with `cargo test` above - name: Run manual tests run: | - export PATH="$HOME/.cargo/bin:$PATH" cargo run -- --help ./run_tests.sh |