| 1 |
[tasks.test-db] |
| 2 |
dependencies = [ |
| 3 |
"test-db-mysql-all", |
| 4 |
"test-db-postgres-all" |
| 5 |
] |
| 6 |
|
| 7 |
[tasks.test-db-postgres-all] |
| 8 |
dependencies = [ |
| 9 |
"test-db-postgres", |
| 10 |
"test-db-tokio-postgres", |
| 11 |
"test-db-diesel-postgres" |
| 12 |
] |
| 13 |
|
| 14 |
|
| 15 |
[tasks.clean-db-postgres] |
| 16 |
alias = "clean" |
| 17 |
|
| 18 |
[tasks.test-db-postgres] |
| 19 |
dependencies = ["clean-db-postgres"] |
| 20 |
command = "cargo" |
| 21 |
args = ["test", "--workspace", "--tests", "--features=db-postgres", "postgres", "--", "--skip", "generated"] |
| 22 |
|
| 23 |
[tasks.clean-db-tokio-postgres] |
| 24 |
alias = "clean" |
| 25 |
|
| 26 |
[tasks.test-db-tokio-postgres] |
| 27 |
dependencies = ["clean-db-tokio-postgres"] |
| 28 |
command = "cargo" |
| 29 |
args = ["test", "--workspace", "--tests", "--features=db-tokio-postgres", "postgres", "--", "--skip", "generated"] |
| 30 |
|
| 31 |
[tasks.test-db-mysql-all] |
| 32 |
dependencies = [ |
| 33 |
"test-db-diesel-mysql", |
| 34 |
] |
| 35 |
|
| 36 |
[tasks.test-db-diesel] |
| 37 |
dependencies = [ |
| 38 |
"test-db-diesel-mysql", |
| 39 |
"test-db-diesel-postgres", |
| 40 |
] |
| 41 |
|
| 42 |
[tasks.clean-db-diesel-mysql] |
| 43 |
alias = "clean" |
| 44 |
|
| 45 |
[tasks.test-db-diesel-mysql] |
| 46 |
dependencies = ["clean-db-diesel-mysql"] |
| 47 |
command = "cargo" |
| 48 |
args = ["test", "--workspace", "--tests", "--features=db-diesel-mysql", "mysql", "--", "--skip", "generated"] |
| 49 |
|
| 50 |
[tasks.clean-db-diesel-postgres] |
| 51 |
alias = "clean" |
| 52 |
|
| 53 |
[tasks.test-db-diesel-postgres] |
| 54 |
dependencies = ["clean-db-diesel-postgres"] |
| 55 |
command = "cargo" |
| 56 |
args = ["test", "--workspace", "--tests", "--features=db-diesel-postgres", "postgres", "--", "--skip", "generated"] |