Skip to content

Commit

Permalink
disable capi tests for regular tests
Browse files Browse the repository at this point in the history
  • Loading branch information
castelao committed Oct 28, 2024
1 parent 3b851f2 commit 615ba47
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conversions.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(feature = "capi"))]

use heapless::{FnvIndexMap, String, Vec};
use postcard::from_bytes;

Check warning on line 4 in tests/conversions.rs

View workflow job for this annotation

GitHub Actions / test (windows)

unused import: `postcard::from_bytes`
use serde::{Deserialize, Serialize};
Expand Down
2 changes: 2 additions & 0 deletions tests/earth.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(feature = "capi"))]

use heapless::{FnvIndexMap, String, Vec};
use postcard::from_bytes;

Check warning on line 4 in tests/earth.rs

View workflow job for this annotation

GitHub Actions / test (windows)

unused import: `postcard::from_bytes`
use serde::{Deserialize, Serialize};
Expand Down
2 changes: 2 additions & 0 deletions tests/practical_salinity.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(feature = "capi"))]

use heapless::{FnvIndexMap, String, Vec};
use postcard::from_bytes;
use serde::{Deserialize, Serialize};
Expand Down
2 changes: 2 additions & 0 deletions tests/volume.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![cfg(not(feature = "capi"))]

use heapless::{FnvIndexMap, String, Vec};
use postcard::from_bytes;

Check warning on line 4 in tests/volume.rs

View workflow job for this annotation

GitHub Actions / test (windows)

unused import: `postcard::from_bytes`
use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit 615ba47

Please sign in to comment.