Skip to content

Commit

Permalink
Merge pull request #229 from barneysowood/tests-3600.0
Browse files Browse the repository at this point in the history
Update test suite to test against 3006.0 and python 3.9 and 3.10
  • Loading branch information
barneysowood authored May 3, 2023
2 parents 578f1ba + 2421a43 commit 8ab18e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit 8ab18e8

Please sign in to comment.