aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/CI.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 350e1b1..775e4f5 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -51,22 +51,24 @@ jobs:
if: contains( matrix.os, 'macos')
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
- export PATH="$HOME/.cargo/bin:$PATH"
- which cargo
- cargo
- name: Install GFortran macOS
if: contains( matrix.os, 'macos')
run: brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
- name: Build
- run: cargo build --verbose
+ run: |
+ export PATH="$HOME/.cargo/bin:$PATH"
+ cargo build --verbose
- name: Run tests
- run: cargo test --verbose
+ 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