chore: migrate tests to also run with mariadb

This commit is contained in:
realaravinth
2022-07-22 19:14:18 +05:30
parent 912b342e0e
commit 249b6461ee
24 changed files with 352 additions and 59 deletions

View File

@@ -126,8 +126,7 @@ test: frontend-test frontend ## Run all available tests
cd db/db-sqlx-maria &&\
DATABASE_URL=${MARIA_DATABASE_URL}\
cargo test --no-fail-fast
DATABASE_URL=${MARIA_DATABASE_URL} cargo test --no-fail-fast
DATABASE_URL=${POSTGRES_DATABASE_URL} cargo test --no-fail-fast
cargo test --no-fail-fast
# ./scripts/tests.sh
xml-test-coverage: migrate ## Generate code coverage report in XML format