From e2876506db857ca4c785c08f7e38ef1010f96a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksi=20H=C3=A4kli?= Date: Wed, 6 Jan 2021 15:25:34 +0200 Subject: [PATCH] Iterate on test structure and documentation --- tox.ini | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 9d189d5..a511d9f 100644 --- a/tox.ini +++ b/tox.ini @@ -17,8 +17,9 @@ DJANGO = 3.0: dj30 3.1: dj31 dev: djdev - qa: qa + qa: djqa +# Normal test environment runs pytest which orchestrates other tools [testenv] deps = -r requirements-test.txt @@ -31,11 +32,13 @@ commands = pytest setenv = PYTHONDONTWRITEBYTECODE=1 +# Django development version is allowed to fail the test matrix [testenv:py{36,37,38,39,py3}-dj{dev}] ignore_errors = true ignore_outcome = true -[testenv:py38-qa] +# QA runs type checks, linting, and code formatting checks +[testenv:py38-djqa] deps = -r requirements-qa.txt commands = mypy axes