only test cli_app on non linux platforms

This commit is contained in:
lennard
2023-06-13 20:55:53 +02:00
parent 54eead3bcb
commit d3245faddd
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- name: Build
run: cargo build --verbose --bin cli_app
- name: test
run: cargo test
run: cargo test --bin cli_app
build-windows:
runs-on: windows-latest
@@ -26,7 +26,7 @@ jobs:
- name: Build
run: cargo build --verbose --bin cli_app
- name: test
run: cargo test
run: cargo test --bin cli_app
build-linux:
runs-on: ubuntu-latest

View File

@@ -9,5 +9,5 @@ edition = "2021"
hidapi = "2.3.3"
thiserror = "1.0.40"
[target.'cfg(unix)'.dependencies]
[target.'cfg(target_os = "linux")'.dependencies]
ksni = "0.2.0"