5 Commitit 578f1ba1f6 ... 8ab18e8fb8

Tekijä SHA1 Viesti Päivämäärä
  Barney Sowood 8ab18e8fb8 Merge pull request #229 from barneysowood/tests-3600.0 1 vuosi sitten
  Barney Sowood 2421a43ae9 Use importlib-meatdata<5.0.0 for all versions 1 vuosi sitten
  Barney Sowood cd9caba574 Pin salt versions correctly 1 vuosi sitten
  Barney Sowood 912b898e70 Exclude py3.10 for 3004.2 and 3005.1 1 vuosi sitten
  Barney Sowood 16eaf320b0 Add Salt 3006.0 and py3.9/py3.10 1 vuosi sitten
3 muutettua tiedostoa jossa 13 lisäystä ja 4 poistoa
  1. 8 0
      .github/workflows/test.yaml
  2. 1 0
      tests/requirements.txt
  3. 4 4
      tox.ini

+ 8 - 0
.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

+ 1 - 0
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"

+ 4 - 4
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}