Skip to content

Commit 45a2aa1

Browse files
committed
chore: update testcontainers-modules features and simplify CI check
- Modified `Cargo.toml` to include `mysql` feature in `testcontainers-modules` alongside `mariadb` for enhanced database testing capabilities. - Simplified the `ci-check` target in the `justfile` by removing redundant commands, streamlining the CI process. These changes improve the testing framework's flexibility and maintainability.
1 parent dbaa337 commit 45a2aa1

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ rustls-pemfile = "2.2.0"
5151

5252

5353
[dev-dependencies]
54-
testcontainers-modules = { version = "0.13.0", features = ["mariadb","blocking"] }
54+
testcontainers-modules = { version = "0.13.0", features = ["mariadb", "mysql", "blocking"] }
5555
tempfile = "3.21.0"
5656
assert_cmd = "2.0.17"
5757
insta = "1.43.1"

justfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,7 @@ check:
6767
just test-no-docker
6868

6969
# Quality gates (CI equivalent)
70-
ci-check:
71-
cd {{justfile_dir()}}
72-
just fmt-check
73-
just lint
74-
just test
75-
just validate-deps
76-
just deny-check
70+
ci-check: check fmt-check test validate-deps deny-check
7771

7872
# Full CI workflow equivalent - mirrors .github/workflows/ci.yml exactly
7973
ci-full:

0 commit comments

Comments
 (0)