From aaced8221f70d2ef38b53ff6f8a68f0a4277736c Mon Sep 17 00:00:00 2001 From: Will Lachance Date: Mon, 20 May 2024 11:22:53 -0400 Subject: [PATCH] Add `minimal` environment, fix CI flask-debugtoolbar had a minimal test environment which just attempts to import flask-mail. Since we copied the CI files over from that, we need to have that environment defined for the build to pass. --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 593f283..ddd3136 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,8 @@ [tox] -envlist = py3{12,11,10,9,8} +envlist = + py3{12,11,10,9,8} + minimal +skip_missing_interpreters = true [testenv] package = wheel @@ -10,6 +13,10 @@ deps = -r requirements/tests.txt commands = pytest -v --tb=short --basetemp={envtmpdir} tests.py +[testenv:minimal] +deps = +commands = python -c "from flask_mail import Mail" + [testenv:update-requirements] base_python = 3.8 labels = update