Skip to content

Commit

Permalink
enable testing with sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
fopina committed Jul 14, 2020
1 parent aaa4fdc commit 274e805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
database: [mysql, postgresql]
database: [sqlite, mysql, postgresql]

services:
mysql:
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
flake8
py{37,38}-dj{22,30}-{postgresql,mysql}
py{37,38}-dj{22,30}-{sqlite,postgresql,mysql}

[testenv]
deps =
Expand All @@ -12,6 +12,7 @@ deps =
coverage
setenv =
PYTHONPATH = {toxinidir}
sqlite: DJANGO_SETTINGS_MODULE = settings
postgresql: DJANGO_SETTINGS_MODULE = settings_postgresql
mysql: DJANGO_SETTINGS_MODULE = settings_mysql
whitelist_externals = make
Expand Down

0 comments on commit 274e805

Please sign in to comment.