mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix(mysql): add sqlx
as a dev-dependency for doctests
This commit is contained in:
parent
3a41288b84
commit
71f72e2620
3 changed files with 6 additions and 0 deletions
2
.github/workflows/sqlx.yml
vendored
2
.github/workflows/sqlx.yml
vendored
|
@ -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
1
Cargo.lock
generated
|
@ -3639,6 +3639,7 @@ dependencies = [
|
|||
"sha1",
|
||||
"sha2",
|
||||
"smallvec",
|
||||
"sqlx",
|
||||
"sqlx-core",
|
||||
"stringprep",
|
||||
"thiserror",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue