Skip to content

Commit 62fc78f

Browse files
committed
Only run database infrastructure tests on Linux
1 parent d17c477 commit 62fc78f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nautilus_core/infrastructure/tests/test_cache_database_postgres.rs

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ pub async fn get_pg_cache_database() -> anyhow::Result<PostgresCacheDatabase> {
5757
}
5858

5959
#[cfg(test)]
60+
#[cfg(target_os = "linux")] // Databases only supported on Linux
6061
mod tests {
6162
use std::time::Duration;
6263

0 commit comments

Comments
 (0)