Skip to content

Commit

Permalink
🔨(test) run local tests on sqlite
Browse files Browse the repository at this point in the history
Now it is possible to run backend tests locally, using the command:
`DB_HOST=sqlite bin/pytest`
  • Loading branch information
igobranco committed Jul 24, 2024
1 parent 841702d commit 92c9bf2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose-sqlite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file is empty on propose!
5 changes: 5 additions & 0 deletions env.d/development/sqlite
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# App database configuration
DB_NAME=db.sqlite3

DB_HOST=sqlite
DB_ENGINE=django.db.backends.sqlite3

0 comments on commit 92c9bf2

Please sign in to comment.