mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 03:48:52 +03:00
feat: add cmd to run db tests only
This commit is contained in:
parent
bbc8873762
commit
21dcc2144b
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -103,6 +103,10 @@ sqlx-offline-data: ## prepare sqlx offline data
|
|||
# cd db/db-sqlx-sqlite/ \
|
||||
# && DATABASE_URL=${SQLITE_DATABASE_URL} cargo sqlx prepare
|
||||
|
||||
test-db: ## run tests on database
|
||||
cd db/db-sqlx-postgres &&\
|
||||
DATABASE_URL=${POSTGRES_DATABASE_URL}\
|
||||
cargo test --no-fail-fast
|
||||
test: frontend-test frontend ## Run all available tests
|
||||
$(call cache_bust)
|
||||
cd db/db-sqlx-postgres &&\
|
||||
|
|
Loading…
Reference in a new issue