From 762d6907205accc73f829ccb619982d41e1025c0 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Wed, 6 Oct 2021 21:38:02 -0400 Subject: [PATCH] Add GA test and linter jobs --- .github/workflows/tests-and-linters.yml | 6 +++--- setup.py | 1 + tox.ini | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests-and-linters.yml b/.github/workflows/tests-and-linters.yml index 6d97492d..55fe6d66 100644 --- a/.github/workflows/tests-and-linters.yml +++ b/.github/workflows/tests-and-linters.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3] + python-version: [2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", pypy2, pypy3] steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: "3.10" - run: pip install tox cython - run: make cythonize - run: tox @@ -48,7 +48,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: "3.10" - run: pip install tox - run: tox env: diff --git a/setup.py b/setup.py index 0f86fff1..6c394601 100644 --- a/setup.py +++ b/setup.py @@ -102,6 +102,7 @@ setup(name="dependency-injector", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Framework :: AsyncIO", diff --git a/tox.ini b/tox.ini index fdf2571e..b7fd2edf 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist= - coveralls, pylint, flake8, pydocstyle, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2, pypy3 + coveralls, pylint, flake8, pydocstyle, 2.7, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, pypy2, pypy3 [testenv] deps= @@ -22,7 +22,7 @@ commands= [testenv:coveralls] passenv = GITHUB_* COVERALLS_* -basepython=python3.9 +basepython=python3.10 usedevelop=True deps= {[testenv]deps}