fix(mysql): add sqlx as a dev-dependency for doctests

This commit is contained in:
Austin Bonander 2024-08-22 15:01:20 -07:00
parent 3a41288b84
commit 71f72e2620
3 changed files with 6 additions and 0 deletions

View file

@ -103,10 +103,12 @@ jobs:
-p sqlx-macros-core
--all-features
# Note: use `--lib` to not run integration tests that require a DB
- name: Test sqlx
run: >
cargo test
-p sqlx
--lib
--all-features
sqlite:

1
Cargo.lock generated
View file

@ -3639,6 +3639,7 @@ dependencies = [
"sha1",
"sha2",
"smallvec",
"sqlx",
"sqlx-core",
"stringprep",
"thiserror",

View file

@ -72,5 +72,8 @@ whoami = { version = "1.2.1", default-features = false }
serde = { version = "1.0.144", optional = true }
[dev-dependencies]
sqlx = { workspace = true, features = ["mysql"] }
[lints]
workspace = true