ci: enable tests

Signed-off-by: Changyuan Lyu <changyuanl@google.com>
This commit is contained in:
Changyuan Lyu 2024-07-05 14:28:24 -07:00 committed by Lencerf
parent 047840197e
commit cf4f4b698e

View file

@ -47,8 +47,8 @@ jobs:
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt &&
cargo +nightly fmt --check
if: matrix.target.name == 'x86_64-unknown-linux-gnu'
# TODO: some KVM related tests cannot run in github runners.
# - name: Run tests
# run: cargo test --verbose
- name: Run tests
run: cargo test --target ${{ matrix.target.name }}
if: matrix.target.name != 'aarch64-unknown-linux-gnu'
- name: Clippy
run: cargo clippy --target ${{ matrix.target.name }} -- -D warnings