added django3, 4, 5 to the tox environments list
This commit is contained in:
@@ -11,6 +11,7 @@ A Django app that handles MFA, it supports TOTP, U2F, FIDO2 U2F (Web Authn), Ema
|
|||||||
[](https://anaconda.org/conda-forge/django-mfa2)
|
[](https://anaconda.org/conda-forge/django-mfa2)
|
||||||
[](https://anaconda.org/conda-forge/django-mfa2)
|
[](https://anaconda.org/conda-forge/django-mfa2)
|
||||||
|
|
||||||
|
|
||||||
Web Authencation API (WebAuthn) is state-of-the art techology that is expected to replace passwords.
|
Web Authencation API (WebAuthn) is state-of-the art techology that is expected to replace passwords.
|
||||||
|
|
||||||

|

|
||||||
@@ -205,8 +206,7 @@ In the root folder, `pytest.ini` contains configurations for running the tests,
|
|||||||
To run the tests, install the packages in requirements and requirements_testing.txt:
|
To run the tests, install the packages in requirements and requirements_testing.txt:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt -r requirements_testing.txt
|
||||||
pip install -r requirements_testing.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
then simply run pytest
|
then simply run pytest
|
||||||
|
|||||||
6
tox.ini
6
tox.ini
@@ -10,7 +10,10 @@
|
|||||||
# Choose your Python versions. They have to be available
|
# Choose your Python versions. They have to be available
|
||||||
# on the system the tests are run on.
|
# on the system the tests are run on.
|
||||||
# comma separated
|
# comma separated
|
||||||
envlist = py39, py310, py311
|
envlist =
|
||||||
|
python{3.6,3.7,3.8,3.9}-django3
|
||||||
|
python{3.8,3.9,3.10,3.11}-django4
|
||||||
|
python{3.8,3.9,3.10,3.11}-django5
|
||||||
|
|
||||||
# Tell tox to not require a setup.py file
|
# Tell tox to not require a setup.py file
|
||||||
;skipsdist = True
|
;skipsdist = True
|
||||||
@@ -34,6 +37,7 @@ isolated_build = True
|
|||||||
|
|
||||||
deps =
|
deps =
|
||||||
-rrequirements.txt
|
-rrequirements.txt
|
||||||
|
-rrequirements_testing.txt
|
||||||
|
|
||||||
# https://tox.wiki/en/latest/example/basic.html#ignoring-a-command-exit-code
|
# https://tox.wiki/en/latest/example/basic.html#ignoring-a-command-exit-code
|
||||||
commands =
|
commands =
|
||||||
|
|||||||
Reference in New Issue
Block a user