Skip to content

Commit 66b78fc

Browse files
committed
coverage tests should run on 3.12
1 parent 283ffb5 commit 66b78fc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ jobs:
4545
if: ${{ matrix.numpy-version }}
4646
run: pip install -I --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple "numpy>=0.0.dev0"
4747
- name: Lint with flake8
48-
if: matrix.python-version == 3.11
48+
if: matrix.python-version == 3.12
4949
run: |
5050
# stop the build if there are Python syntax errors or undefined names
5151
flake8 deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
5252
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
5353
flake8 deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt=250 --statistics
5454
- name: Test with pytest and get the coverage
55-
if: matrix.python-version == 3.11
55+
if: matrix.python-version == 3.12
5656
run: |
57-
pytest --cov-report=xml --cov=deepdiff tests/ --runslow
57+
pytest --benchmark-disable --cov-report=xml --cov=deepdiff tests/ --runslow
5858
- name: Test with pytest and no coverage report
59-
if: matrix.python-version != 3.11
59+
if: matrix.python-version != 3.12
6060
run: |
61-
pytest
61+
pytest --benchmark-disable
6262
- name: Upload coverage to Codecov
6363
uses: codecov/codecov-action@v3
64-
if: matrix.python-version == 3.11
64+
if: matrix.python-version == 3.12
6565
with:
6666
file: ./coverage.xml
6767
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)