diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2da9d9e..5a801e0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -15,13 +15,21 @@ jobs: py: - "3.7" - "3.8" + - "3.9" + - "3.10" netapi: - "cherrypy" - "tornado" salt: - "v3004.2" - "v3005.1" + - "v3006.0" - "master" + exclude: + - py: "3.10" + salt: "v3004.2" + - py: "3.10" + salt: "v3005.1" steps: - name: Setup python for test ${{ matrix.py }} uses: actions/setup-python@v4 diff --git a/tests/requirements.txt b/tests/requirements.txt index c3b1d7d..b6a15e2 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -5,6 +5,7 @@ pytest-cov pytest-salt-factories==0.912.2 CherryPy setuptools_scm +importlib-metadata<5.0.0 pyzmq<=20.0.0 ; python_version < "3.6" pyzmq>=17.0.0 ; python_version < "3.9" pyzmq>19.0.2 ; python_version >= "3.9" diff --git a/tox.ini b/tox.ini index 4415136..35df1fa 100644 --- a/tox.ini +++ b/tox.ini @@ -1,15 +1,15 @@ [tox] -envlist = py{3.7,3.8}-{cherrypy,tornado}-{v3004.2,v3005.1,master},coverage,flake8 +envlist = py{3.7,3.8,3.9}-{cherrypy,tornado}-{v3004.2,v3005.1,v3006.0,master},py{3.10}-{cherrypy,tornado}-{v3006.0,master},coverage,flake8 skip_missing_interpreters = true skipsdist = false [testenv] passenv = TOXENV, CI, TRAVIS, TRAVIS_*, CODECOV_* deps = -r{toxinidir}/tests/requirements.txt - v3004.2: salt<3004.2 + v3004.2: salt==3004.2 v3004.2: jinja2<3.1 - v3005.1: salt<3005.1 - py3.7-{cherrypy,tornado}-{v3004.2,v3005.1}: importlib-metadata<5.0.0 + v3005.1: salt==3005.1 + v3006.0: salt==3006.0 master: git+https://github.com/saltstack/salt.git@master#egg=salt changedir = {toxinidir}