From 71ac1a17d8bd9c8c88115ab443cd79b1eb6701a9 Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Sun, 17 Oct 2021 18:58:53 +0200 Subject: [PATCH] make tox use expected python version --- .github/workflows/tests.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a913cf55..889089a8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -54,5 +54,5 @@ jobs: - name: Install tox run: pip install tox - name: Run tests - run: tox -e ${{ matrix.python }} + run: tox -e py$(sed -e 's/\.//' <<< ${{ matrix.python }}) timeout-minutes: 5 diff --git a/tox.ini b/tox.ini index 8bb56694..13688bdf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {3.6,3.7,3.8,3.9,3.10} +envlist = py{36,37,38,39,310} [testenv] commands = make check