From 071fb2d15523ab83fb8a07c731e61bf9ebed1414 Mon Sep 17 00:00:00 2001 From: Steven Engler Date: Sat, 22 Jun 2024 23:44:18 -0400 Subject: [PATCH] Run CI unit tests on MacOS --- .github/workflows/test.yml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2045a77..6a367c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ on: types: [opened, synchronize] jobs: - testing: + linux: runs-on: ubuntu-latest container: @@ -78,3 +78,22 @@ jobs: run: | . "$HOME/.cargo/env" RUST_BACKTRACE=1 cargo test + + macos: + runs-on: macos-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + persist-credentials: false + + - name: Build + shell: bash -eo pipefail {0} + run: | + cargo build + + - name: Test + shell: bash -eo pipefail {0} + run: | + RUST_BACKTRACE=1 cargo test