From 258d9c2c92933ffe5b770a03d6aaf451f57d6ab2 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sun, 19 Mar 2023 12:58:15 +0100 Subject: [PATCH] feat: test on native targets --- .github/workflows/ci-multiplatform.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci-multiplatform.yml b/.github/workflows/ci-multiplatform.yml index 432311d..5476b16 100644 --- a/.github/workflows/ci-multiplatform.yml +++ b/.github/workflows/ci-multiplatform.yml @@ -110,6 +110,23 @@ jobs: #- name: Run tests (with cross) # if: matrix.target != '' # run: ${{ env.CARGO }} test --verbose --workspace ${{ env.TARGET_FLAGS }} + test_multi_platform: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + - macos-latest + - ubuntu-latest + - windows-latest + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/setup-rust + - uses: ./.github/actions/cargo-llvm-cov + with: + name: test-${{matrix.os}} + - name: Run unit tests + run: cargo test --locked --all-targets --workspace --all-features + timeout-minutes: 10 rustfmt: name: rustfmt runs-on: ubuntu-22.04