File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,20 @@ jobs:
3838 if : matrix.python-version != 3.7
3939 run : pip install -r requirements-dev.txt
4040 - name : Lint with flake8
41+ if : matrix.python-version == 3.10
4142 run : |
4243 # stop the build if there are Python syntax errors or undefined names
4344 flake8 deepdiff --count --select=E9,F63,F7,F82 --show-source --statistics
4445 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4546 flake8 deepdiff --count --exit-zero --max-complexity=26 --max-line-lengt=250 --statistics
46- - name : Test with pytest
47+ - name : Test with pytest and get the coverage
48+ if : matrix.python-version == 3.10
49+ run : |
50+ pytest --cov-report=xml --cov=deepdiff tests/ --runslow
51+ - name : Test with pytest and no coverage report
52+ if : matrix.python-version != 3.10
4753 run : |
48- pytest --cov-report=xml --cov=deepdiff tests/ --runslow
54+ pytest
4955 - name : Upload coverage to Codecov
5056 uses : codecov/codecov-action@v1
5157 if : matrix.python-version == 3.10
You can’t perform that action at this time.
0 commit comments