1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 04:18:10 +00:00

tests(python): add tests against python 3.11

This commit is contained in:
matejcik 2023-10-10 15:44:27 +02:00 committed by matejcik
parent c3a4a765bb
commit 0071e0f683
2 changed files with 5 additions and 4 deletions

View File

@ -85,6 +85,7 @@ stdenvNoCC.mkDerivation ({
# install other python versions for tox testing
# NOTE: running e.g. "python3" in the shell runs the first version in the following list,
# and poetry uses the default version (currently 3.10)
python311
python310
python39
python38

View File

@ -7,9 +7,9 @@
[tox]
envlist =
py{36,37,38,39,310}-{minimal,default,full}
py{36,37,38,39,310}-click{7,80}
py{37,38,39,310}-click81
py{36,37,38,39,310,311}-{minimal,default,full}
py{36,37,38,39,310,311}-click{7,80}
py{37,38,39,310,311}-click81
[testenv]
deps =
@ -28,7 +28,7 @@ commands =
# Run test suite
!minimal: pytest --random-order tests
[testenv:py{36,37,38,39,310}-click{7,80,81}]
[testenv:py{36,37,38,39,310,311}-click{7,80,81}]
deps =
-rrequirements.txt
click7: click>=7,<8