feat: test on native targets

This commit is contained in:
Kasper Juul Hermansen 2023-03-19 12:58:15 +01:00
parent 07005ba232
commit 258d9c2c92
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -110,6 +110,23 @@ jobs:
#- name: Run tests (with cross) #- name: Run tests (with cross)
# if: matrix.target != '' # if: matrix.target != ''
# run: ${{ env.CARGO }} test --verbose --workspace ${{ env.TARGET_FLAGS }} # 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: rustfmt:
name: rustfmt name: rustfmt
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04