added django3, 4, 5 to the tox environments list

This commit is contained in:
Oussama Jarrousse
2023-12-27 11:54:23 +01:00
parent 54f5eb212a
commit e0335ac4a7
2 changed files with 7 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ A Django app that handles MFA, it supports TOTP, U2F, FIDO2 U2F (Web Authn), Ema
[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/django-mfa2.svg)](https://anaconda.org/conda-forge/django-mfa2)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/django-mfa2.svg)](https://anaconda.org/conda-forge/django-mfa2)
Web Authencation API (WebAuthn) is state-of-the art techology that is expected to replace passwords.
![Andriod Fingerprint](https://cdn-images-1.medium.com/max/800/1*1FWkRE8D7NTA2Kn1DrPjPA.png)
@@ -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:
```bash
pip install -r requirements.txt
pip install -r requirements_testing.txt
pip install -r requirements.txt -r requirements_testing.txt
```
then simply run pytest

View File

@@ -10,7 +10,10 @@
# Choose your Python versions. They have to be available
# on the system the tests are run on.
# 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
;skipsdist = True
@@ -34,6 +37,7 @@ isolated_build = True
deps =
-rrequirements.txt
-rrequirements_testing.txt
# https://tox.wiki/en/latest/example/basic.html#ignoring-a-command-exit-code
commands =