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 "]
15
+ python-version : ["3.9 ", "3.10 ", "3.11 ", "3.12 ", "3.13 "]
16
16
architecture : ["x64"]
17
17
steps :
18
18
- uses : actions/checkout@v2
21
21
with :
22
22
python-version : ${{ matrix.python-version }}
23
23
architecture : ${{ matrix.architecture }}
24
- - name : Cache pip 3.8
25
- if : matrix.python-version == 3.8
26
- uses : actions/cache@v4
27
- with :
28
- # This path is specific to Ubuntu
29
- path : ~/.cache/pip
30
- restore-keys : |
31
- ${{ runner.os }}-
32
24
- name : Cache pip
33
- if : matrix.python-version != 3.8
34
25
env :
35
26
PYO3_USE_ABI3_FORWARD_COMPATIBILITY : " 1"
36
27
uses : actions/cache@v4
@@ -46,17 +37,17 @@ jobs:
46
37
if : matrix.python-version == 3.12
47
38
run : |
48
39
# stop the build if there are Python syntax errors or undefined names
49
- tox -e flake8 -- deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
40
+ nox -e flake8 -- deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
50
41
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
51
- tox -e flake8 -- deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt =250 --statistics
42
+ nox -e flake8 -- deepdiff --count --exit-zero --max-complexity=26 --max-line-length =250 --statistics
52
43
- name : Test with pytest and get the coverage
53
44
if : matrix.python-version == 3.12
54
45
run : |
55
- tox -s -- --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
46
+ nox -s -- --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
56
47
- name : Test with pytest and no coverage report
57
48
if : matrix.python-version != 3.12
58
49
run : |
59
- tox -s -- --benchmark-disable tests/
50
+ nox -s -- --benchmark-disable tests/
60
51
- name : Upload coverage to Codecov
61
52
uses : codecov/codecov-action@v4
62
53
if : matrix.python-version == 3.12
0 commit comments