From 2047073c03423cf0f37145ddce1689cb5f68298a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sun, 28 Sep 2025 19:30:50 +0000 Subject: [PATCH] improve tests --- .github/workflows/backend-test.yml | 2 +- backend/tests/worker.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/backend-test.yml b/.github/workflows/backend-test.yml index 78b83f5dce..557b7e3bfc 100644 --- a/.github/workflows/backend-test.yml +++ b/.github/workflows/backend-test.yml @@ -76,5 +76,5 @@ jobs: DISABLE_EMBEDDING=true RUST_LOG=info DENO_PATH=$(which deno) BUN_PATH=$(which bun) GO_PATH=$(which go) UV_PATH=$(which uv) cargo test --features - enterprise,deno_core,license,python,rust,scoped_cache --all -- + enterprise,deno_core,license,python,rust,scoped_cache,private --all -- --nocapture diff --git a/backend/tests/worker.rs b/backend/tests/worker.rs index 979ec4ce0e..f9a68ed567 100644 --- a/backend/tests/worker.rs +++ b/backend/tests/worker.rs @@ -2302,7 +2302,7 @@ async fn test_rust_client(db: Pool) -> anyhow::Result<()> { Ok(()) } -#[cfg(feature = "enterprise")] +#[cfg(all(feature = "enterprise", feature = "private"))] #[sqlx::test(fixtures("base", "schedule"))] async fn test_script_schedule_handlers(db: Pool) -> anyhow::Result<()> { initialize_tracing().await; @@ -2459,7 +2459,7 @@ async fn test_script_schedule_handlers(db: Pool) -> anyhow::Result<()> Ok(()) } -#[cfg(feature = "enterprise")] +#[cfg(all(feature = "enterprise", feature = "private"))] #[sqlx::test(fixtures("base", "schedule"))] async fn test_flow_schedule_handlers(db: Pool) -> anyhow::Result<()> { initialize_tracing().await;