1212 runs-on : ubuntu-latest
1313 strategy :
1414 matrix :
15- python-version : ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ]
15+ python-version : ["3.8", "3.9", "3.10", "3.11", "3.12"]
1616 architecture : ["x64"]
1717 steps :
1818 - uses : actions/checkout@v2
4848 - name : Upgrade setuptools
4949 if : matrix.python-version >= 3.12
5050 run : |
51- # workaround for 3.13 , SEE: https://github.com/pypa/setuptools/issues/3661#issuecomment-1813845177
51+ # workaround for 3.12 , SEE: https://github.com/pypa/setuptools/issues/3661#issuecomment-1813845177
5252 pip install --upgrade setuptools
5353 - name : Install dependencies
5454 if : matrix.python-version > 3.9
@@ -57,23 +57,23 @@ jobs:
5757 if : matrix.python-version <= 3.9
5858 run : pip install -r requirements-dev3.8.txt
5959 - name : Lint with flake8
60- if : matrix.python-version == 3.13
60+ if : matrix.python-version == 3.12
6161 run : |
6262 # stop the build if there are Python syntax errors or undefined names
6363 flake8 deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
6464 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
6565 flake8 deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt=250 --statistics
6666 - name : Test with pytest and get the coverage
67- if : matrix.python-version == 3.13
67+ if : matrix.python-version == 3.12
6868 run : |
6969 pytest --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
7070 - name : Test with pytest and no coverage report
71- if : matrix.python-version != 3.13
71+ if : matrix.python-version != 3.12
7272 run : |
7373 pytest --benchmark-disable
7474 - name : Upload coverage to Codecov
7575 uses : codecov/codecov-action@v4
76- if : matrix.python-version == 3.13
76+ if : matrix.python-version == 3.12
7777 env :
7878 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
7979 with :
0 commit comments