Skip to content

Commit

Permalink
Merge pull request #401 from UW-GAC/feature/fix-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
amstilp authored Oct 17, 2023
2 parents 8f2c902 + e9f233f commit 16290af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
[tox]
envlist = py{38,39,310}-django{32,41,42}-{sqlite,mysql}
isolated_build = true
# We need 4.4.0 for constrain_package_deps.
min_version = 4.4.0

[testenv]
deps =
Expand All @@ -16,6 +18,7 @@ deps =
freezegun
django-test-migrations
mysql: mysqlclient
constrain_package_deps = true
passenv =
DBNAME
DBUSER
Expand All @@ -24,12 +27,14 @@ passenv =
DBBACKEND
DBPORT
commands =
pip freeze
coverage run -p ./manage.py test anvil_consortium_manager --settings=anvil_consortium_manager.tests.settings.test

[testenv:py{38,39,310}-django{32,41,42}-mysql]
setenv =
DBBACKEND = mysql


[testenv:py{38,39,310}-django{32,41,42}-sqlite]
setenv =
DBBACKEND = sqlite3
Expand Down

0 comments on commit 16290af

Please sign in to comment.