aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Čertík <ondrej@certik.us>2020-01-13 22:42:47 -0700
committerOndřej Čertík <ondrej@certik.us>2020-01-13 22:43:09 -0700
commit117fa442f800876d774b2f5c3215785986746f6d (patch)
treefe843b9b6a254b9490aef682163caba08300471f
parentd27e8b25be4c44a80cbac3e4888b18ed0d3fed5a (diff)
downloadfpm-117fa442f800876d774b2f5c3215785986746f6d.tar.gz
fpm-117fa442f800876d774b2f5c3215785986746f6d.zip
Build and run Rust tests
-rw-r--r--.github/workflows/CI.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 52caf55..3a5069d 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -50,3 +50,15 @@ jobs:
- 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
+
+ - name: Run tests
+ run: cargo test --verbose
+
+ # TODO: integrate these with `cargo test` above
+ - name: Run manual tests
+ run: |
+ cargo run -- --help
+ ./run_tests.sh