Skip to content

Commit

Permalink
fix(mysql): add sqlx as a dev-dependency for doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
abonander committed Aug 24, 2024
1 parent 3a41288 commit 71f72e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/sqlx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sqlx-mysql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 71f72e2

Please sign in to comment.