Repository: Crunch-io/pycrunch (language: python)

Issue:
Nuke Workflows 3.4 CI testing. 
If CI testing is feeling too sparse without 3.4 testing,  3.{7,8,9,10} could be substituted.


Discussion / hints:

Fix patch:
diff --git a/.gitignore b/.gitignore
index 127ccbb..e686a07 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 .DS_Store
 *.swp
 *.py[cod]
+*.python-version
 *.orig
 cr/lib/tests/datadir/
 venv/
diff --git a/tox.ini b/tox.ini
index 843b906..f824e4b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py27,py34,py35,py36,
+    py27,py34,py35,py36,py37,py38,py39
     coverage,lint
 
 [gh-actions]
@@ -17,6 +17,8 @@ basepython =
     py35: python3.5
     py36: python3.6
     py37: python3.7
+    py38: python3.8
+    py39: python3.9
     py2: python2.7
     py3: python3.6
 


Test patch:
diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml
index c622f91..754f029 100644
--- a/.github/workflows/build-and-test.yaml
+++ b/.github/workflows/build-and-test.yaml
@@ -16,48 +16,51 @@ jobs:
     strategy:
       max-parallel: 4
       matrix:
-        python-version: 
+        python-version:
           - 2.7
-          - 3.4
           - 3.5
           - 3.6
+          - 3.7
+          - 3.8
+          - 3.9
     steps:
     - uses: actions/checkout@v1
     - name: Set up Python ${{ matrix.python-version }}
       uses: actions/setup-python@v2
       with:
         python-version: ${{ matrix.python-version }}
-    - name: Install dependencies python different from 3.4
-      if: matrix.python-version != '3.4'
+    - name: Install dependencies
       run: |
         pip install --upgrade pip
         pip install tox tox-gh-actions
 
-    - name: Install dependencies for python 3.4
-      if: matrix.python-version == '3.4'
-      run: |
-        pip install --upgrade pip
-        pip install tox
+    - name: Test with tox ${{env.TOXENV}}
+      if: matrix.python-version == '3.6'
+      env:
+        TOXENV: py27,py36,coverage
+      run: tox
 
-    - name: Test with tox for TOXENV py34
-      if: matrix.python-version == '3.4'
+    - name: Test with tox Python 3.7
+      if: matrix.python-version == '3.7'
       env:
-        TOXENV: py34
+        TOXENV: py37
       run: tox
 
-    - name: Test with tox ${{env.TOXENV}}
-      if: matrix.python-version == '3.6'
+    - name: Test with tox Python 3.8
+      if: matrix.python-version == '3.8'
       env:
-        TOXENV: py27,py36,coverage
+        TOXENV: py38
       run: tox
 
-    - name: Test with tox ${{env.TOXENV}}
+    - name: Test with tox Python 3.9
+      if: matrix.python-version == '3.9'
+      env:
+        TOXENV: py39
+      run: tox
+
+    - name: Lint Test with tox Python 3.6
       if: matrix.python-version == '3.6'
       env:
         TOXENV: lint
       run: tox
       continue-on-error: true
-
-    - name: Test with tox for other TOXENV
-      if: matrix.python-version != '3.6' && matrix.python-version != '3.4'
-      run: tox