From 53fd4e902910cf3db9f4332f1c1d1b6b6b3e49a6 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Fri, 6 Sep 2024 12:25:33 +0800 Subject: [PATCH] Fix postgres-vector test cases (#812) --- .github/workflows/rust.yml | 1 + tests/postgres/query.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d45ba8ff..af5fc7b8 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -147,6 +147,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable + - run: cargo test - run: cargo test --features=all-features - run: cargo test --test option-more-parentheses --features=tests-cfg,option-more-parentheses diff --git a/tests/postgres/query.rs b/tests/postgres/query.rs index 2799a299..cf88dc96 100644 --- a/tests/postgres/query.rs +++ b/tests/postgres/query.rs @@ -2112,6 +2112,7 @@ fn test_issue_674_nested_logical_panic() { } #[test] +#[cfg(feature = "postgres-vector")] fn test_pgvector_select() { assert_eq!( Query::select()