Skip to content

Commit 2f37d2d

Browse files
committed
add lambda-web feature and update CI to test with odbc-static
1 parent a472c1c commit 2f37d2d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
3232
- run: cargo fmt --all -- --check
3333
- run: cargo clippy --all-targets --all-features -- -D warnings
34-
- run: cargo test --all-features
34+
- run: cargo test --features odbc-static
3535
- name: Upload Linux binary
3636
uses: actions/upload-artifact@v4
3737
with:
@@ -70,7 +70,7 @@ jobs:
7070
run: docker compose logs ${{ matrix.container }}
7171
- name: Run tests against ${{ matrix.database }}
7272
timeout-minutes: 5
73-
run: cargo test --all-features
73+
run: cargo test --features odbc-static
7474
env:
7575
DATABASE_URL: ${{ matrix.db_url }}
7676
RUST_BACKTRACE: 1

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ odbc-sys = { version = "0.27", features = [], optional = false }
8181
[features]
8282
default = []
8383
odbc-static = ["odbc-sys/static"]
84+
lambda-web = ["dep:lambda-web", "odbc-static"]
8485

8586

8687
[patch.crates-io]

0 commit comments

Comments
 (0)