fix: make test: run tests
This commit is contained in:
parent
5d1799a93d
commit
32378266f0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -44,12 +44,12 @@ sqlx-offline-data: ## prepare sqlx offline data
|
||||||
--all-features
|
--all-features
|
||||||
|
|
||||||
test: migrate ## Run tests
|
test: migrate ## Run tests
|
||||||
|
cargo test --no-fail-fast
|
||||||
# cd database/db-sqlx-postgres &&\
|
# cd database/db-sqlx-postgres &&\
|
||||||
# DATABASE_URL=${POSTGRES_DATABASE_URL}\
|
# DATABASE_URL=${POSTGRES_DATABASE_URL}\
|
||||||
# cargo test --no-fail-fast
|
# cargo test --no-fail-fast
|
||||||
# cd database/db-sqlx-sqlite &&\
|
# cd database/db-sqlx-sqlite &&\
|
||||||
# DATABASE_URL=${SQLITE_DATABASE_URL}\
|
# DATABASE_URL=${SQLITE_DATABASE_URL}\
|
||||||
# cargo test --no-fail-fast
|
|
||||||
|
|
||||||
xml-test-coverage: migrate ## Generate cobertura.xml test coverage
|
xml-test-coverage: migrate ## Generate cobertura.xml test coverage
|
||||||
cargo tarpaulin -t 1200 --out Xml --skip-clean --all-features --no-fail-fast #--workspace=database/db-sqlx-postgres,database/db-sqlx-sqlite,.
|
cargo tarpaulin -t 1200 --out Xml --skip-clean --all-features --no-fail-fast #--workspace=database/db-sqlx-postgres,database/db-sqlx-sqlite,.
|
||||||
|
|
Loading…
Reference in a new issue