From bd9bfc69965b5004e0adcdd3946fb18a4edb7d65 Mon Sep 17 00:00:00 2001 From: matejcik Date: Wed, 13 Jul 2022 14:36:28 +0200 Subject: [PATCH] build(python): widen tox test matrix to include multiple Click versions --- python/tox.ini | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/python/tox.ini b/python/tox.ini index 849e66a1e..fc67b22d3 100644 --- a/python/tox.ini +++ b/python/tox.ini @@ -6,7 +6,10 @@ # as building that from source takes a very long time) [tox] -envlist = py{36,37,38,39,310}-{minimal,default,full} +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 [testenv] deps = @@ -24,3 +27,13 @@ commands = trezorctl --help # Run test suite !minimal: pytest --random-order tests + +[testenv:py{36,37,38,39,310}-click{7,80,81}] +deps = + -rrequirements.txt + click7: click>=7,<8 + click80: click>=8.0,<8.1 + click81: click>=8.1,<8.2 +commands = + # Smoke-test trezorctl + trezorctl --version