From d7927bf7354bf91cd66b13f33a79919b020c36ac Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Mon, 25 Jan 2021 17:18:34 -0500 Subject: [PATCH] Try run tests on multiple versions --- .github/workflows/tests.yml | 7 +++++-- tox.ini | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aee64844..e7280577 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,12 +6,15 @@ jobs: test-py39: name: Run tests runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8, 3.9] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: ${{ matrix.python-version }} - run: pip install tox - run: tox env: - TOXENV: py39 \ No newline at end of file + TOXENV: py${{ matrix.python-version }} \ No newline at end of file diff --git a/tox.ini b/tox.ini index ddc458ec..a7012d7e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist= - coveralls, pylint, flake8, pydocstyle, py27, py34, py35, py36, py37, py38, pypy, pypy3 + coveralls, pylint, flake8, pydocstyle, py27, py34, py35, py36, py37, py3.8, py3.9, pypy, pypy3 [testenv] deps=