mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Run tests on multiple Python versions and databases (#424)
* Test against more python versions * Add testing on MySQL * Add testing on PostgreSQL
This commit is contained in:
@@ -4,6 +4,7 @@ import tempfile
|
||||
|
||||
tmpdir = tempfile.TemporaryDirectory()
|
||||
os.environ.setdefault('DATA_DIR', tmpdir.name)
|
||||
os.environ.setdefault('PRETIX_CONFIG_FILE', 'test/sqlite.cfg')
|
||||
|
||||
from pretix.settings import * # NOQA
|
||||
|
||||
@@ -33,10 +34,3 @@ CACHES = {
|
||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
||||
}
|
||||
}
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': ':memory:'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user