Skip to content

Commit d37918b

Browse files
committed
ci: update SQLx workflow to install ODBC dependencies and adjust test features
1 parent f4f6d87 commit d37918b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/sqlx.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,16 @@ jobs:
5050
test:
5151
name: Unit Test
5252
runs-on: ubuntu-24.04
53-
strategy:
54-
matrix:
55-
runtime: [
56-
# Disabled because of https://github.com/rust-lang/cargo/issues/12964
57-
# async-std,
58-
# actix,
59-
tokio,
60-
]
61-
tls: [
62-
# native-tls,
63-
rustls,
64-
]
6553
steps:
6654
- uses: actions/checkout@v4
6755
- uses: Swatinem/rust-cache@v2
6856
with:
6957
prefix-key: v1-sqlx
7058
save-if: ${{ false }}
59+
- run: apt-get update && apt-get install -y libodbc2 unixodbc-dev
7160
- run: cargo test
7261
--manifest-path sqlx-core/Cargo.toml
73-
--features offline,all-databases,all-types,runtime-${{ matrix.runtime }}-${{ matrix.tls }}
62+
--features offline,all-databases,all-types,runtime-tokio-rustls
7463

7564
cli:
7665
name: CLI Binaries

0 commit comments

Comments
 (0)