Skip to content

Commit d22789c

Browse files
committed
fix handling of cov-fail-under
1 parent bf678f2 commit d22789c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ jobs:
7171
- name: Run the tests
7272
if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
7373
run: |
74-
args="-vv --cov jupyter_client --cov-branch --cov-report term-missing:skip-covered --cov-fail-under 70"
75-
python -m pytest $args || python -m pytest $args --lf
74+
args="-vv --cov jupyter_client --cov-branch --cov-report term-missing:skip-covered"
75+
python -m pytest $args --cov-fail-under 70 || python -m pytest $args --lf
7676
- name: Run the tests on pypy and windows
7777
if: ${{ startsWith(matrix.python-version, 'pypy') || startsWith(matrix.os, 'windows') }}
7878
run: |

0 commit comments

Comments
 (0)