12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
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"]
16
16
architecture : ["x64"]
17
17
steps :
18
18
- uses : actions/checkout@v2
48
48
- name : Upgrade setuptools
49
49
if : matrix.python-version >= 3.12
50
50
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
52
52
pip install --upgrade setuptools
53
53
- name : Install dependencies
54
54
if : matrix.python-version > 3.9
@@ -57,23 +57,23 @@ jobs:
57
57
if : matrix.python-version <= 3.9
58
58
run : pip install -r requirements-dev3.8.txt
59
59
- name : Lint with flake8
60
- if : matrix.python-version == 3.13
60
+ if : matrix.python-version == 3.12
61
61
run : |
62
62
# stop the build if there are Python syntax errors or undefined names
63
63
flake8 deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
64
64
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
65
65
flake8 deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt=250 --statistics
66
66
- name : Test with pytest and get the coverage
67
- if : matrix.python-version == 3.13
67
+ if : matrix.python-version == 3.12
68
68
run : |
69
69
pytest --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
70
70
- name : Test with pytest and no coverage report
71
- if : matrix.python-version != 3.13
71
+ if : matrix.python-version != 3.12
72
72
run : |
73
73
pytest --benchmark-disable
74
74
- name : Upload coverage to Codecov
75
75
uses : codecov/codecov-action@v4
76
- if : matrix.python-version == 3.13
76
+ if : matrix.python-version == 3.12
77
77
env :
78
78
CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
79
79
with :
0 commit comments