aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/CI.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 0c8ad35..14e82a6 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -50,7 +50,7 @@ jobs:
--slave /usr/bingcov gcov /usr/bin/gcov-${GCC_V}
- name: Install GFortran macOS
- if: contains( matrix.os, 'macos')
+ if: contains(matrix.os, 'macos')
run: brew install gcc@${GCC_V} || brew upgrade gcc@${GCC_V} || true
- name: Install Rust
@@ -60,8 +60,14 @@ jobs:
- name: Build
run: |
- cargo build --verbose
+ cargo test --verbose --no-run
- - name: Run tests
+ - name: Run tests (Linux, Windows)
+ if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'windows')
run: |
- cargo test --verbose -j1
+ cargo test
+
+ - name: Run tests (macOS)
+ if: contains(matrix.os, 'macos')
+ run: |
+ cargo test || cargo test || cargo test