Set the target for testing.

Having a .cargo/config.toml file is annoying if you want to run tests,
as it will attempt to compile the tests for the embedded target.
This commit is contained in:
Jonathan 'theJPster' Pallant 2021-12-05 18:33:33 +00:00
parent 1213a20d2c
commit 93c6da2dd1

View File

@ -43,7 +43,7 @@ jobs:
- uses: actions-rs/toolchain@v1 - uses: actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
- run: cargo test - run: cargo test --target=x86_64-unknown-linux-gnu
linting: linting:
name: Linting name: Linting
runs-on: ubuntu-latest runs-on: ubuntu-latest