File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 44
44
if : ${{ startsWith(matrix.python-version, 'pypy') }}
45
45
run : hatch run test:test || hatch run test:test --lf
46
46
- name : Run the tests on windows
47
- if : ${{ startsWith(matrix.python-version , 'windows') }}
47
+ if : ${{ startsWith(matrix.os , 'windows') }}
48
48
run : hatch run cov:nowarn -s || hatch run cov:nowarn --lf
49
49
- name : Coverage
50
50
run : |
Original file line number Diff line number Diff line change @@ -96,17 +96,15 @@ build = "make -C docs html SPHINXOPTS='-W'"
96
96
features = [" test" ]
97
97
[tool .hatch .envs .test .scripts ]
98
98
test = " python -m pytest -vv {args}"
99
- nowarn = " python -m pytest -vv -W default {args}"
99
+ nowarn = " test -W default {args}"
100
100
101
101
[tool .hatch .envs .cov ]
102
102
features = [" test" ]
103
103
dependencies = [" coverage" , " pytest-cov" ]
104
- [tool .hatch .envs .cov .env-vars ]
105
- ARGS = " -vv --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered"
106
104
[tool .hatch .envs .cov .scripts ]
107
- test = " python -m pytest $ARGS {args}"
108
- nwarn = " python -m pytest $ARGS -W default {args}"
109
- integration = " python -m pytest $ARGS --integration_tests=true {args}"
105
+ test = " python -m pytest -vv --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered {args}"
106
+ nowarn = " test -W default {args}"
107
+ integration = " test --integration_tests=true {args}"
110
108
111
109
[tool .hatch .version ]
112
110
path = " jupyter_server/_version.py"
You can’t perform that action at this time.
0 commit comments