Skip to content

Commit fe9fa86

Browse files
committed
adding python 3.13
1 parent d1c8f90 commit fe9fa86

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/main.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1616
architecture: ["x64"]
1717
steps:
1818
- uses: actions/checkout@v2
@@ -44,34 +44,34 @@ jobs:
4444
${{ runner.os }}-pip-
4545
${{ runner.os }}-
4646
- name: Upgrade setuptools
47-
if: matrix.python-version == 3.12
47+
if: matrix.python-version == 3.13
4848
run: |
49-
# workaround for 3.12, SEE: https://github.com/pypa/setuptools/issues/3661#issuecomment-1813845177
49+
# workaround for 3.13, SEE: https://github.com/pypa/setuptools/issues/3661#issuecomment-1813845177
5050
pip install --upgrade setuptools
5151
- name: Install dependencies
52-
if: matrix.python-version != 3.8
52+
if: matrix.python-version > 3.9
5353
run: pip install -r requirements-dev.txt
5454
- name: Install dependencies
55-
if: matrix.python-version == 3.8
55+
if: matrix.python-version <= 3.9
5656
run: pip install -r requirements-dev3.8.txt
5757
- name: Lint with flake8
58-
if: matrix.python-version == 3.12
58+
if: matrix.python-version == 3.13
5959
run: |
6060
# stop the build if there are Python syntax errors or undefined names
6161
flake8 deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
6262
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
6363
flake8 deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt=250 --statistics
6464
- name: Test with pytest and get the coverage
65-
if: matrix.python-version == 3.12
65+
if: matrix.python-version == 3.13
6666
run: |
6767
pytest --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
6868
- name: Test with pytest and no coverage report
69-
if: matrix.python-version != 3.12
69+
if: matrix.python-version != 3.13
7070
run: |
7171
pytest --benchmark-disable
7272
- name: Upload coverage to Codecov
7373
uses: codecov/codecov-action@v4
74-
if: matrix.python-version == 3.12
74+
if: matrix.python-version == 3.13
7575
env:
7676
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7777
with:

0 commit comments

Comments
 (0)