From 117fa442f800876d774b2f5c3215785986746f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20=C4=8Cert=C3=ADk?= Date: Mon, 13 Jan 2020 22:42:47 -0700 Subject: Build and run Rust tests --- .github/workflows/CI.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.github') 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 -- cgit v1.2.3