File tree Expand file tree Collapse file tree 2 files changed +3
-35
lines changed Expand file tree Collapse file tree 2 files changed +3
-35
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : Run unit tests
3939 run : |
40- pytest tests/ -v -m "not slow and not integration" --cov=jupyter_server_mcp --cov-report=xml
40+ pytest tests/ -v -m "not slow and not integration"
4141
4242 - name : Run integration tests
4343 run : |
44- pytest tests/ -v -m "integration"
45-
46- - name : Upload coverage reports to Codecov
47- uses : codecov/codecov-action@v4
48- if : matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
49- with :
50- token : ${{ secrets.CODECOV_TOKEN }}
51- file : ./coverage.xml
52- fail_ci_if_error : true
53-
54- test-optional-deps :
55- runs-on : ubuntu-latest
56- strategy :
57- matrix :
58- extra : [fastmcp, jupyterlab, full]
59-
60- steps :
61- - uses : actions/checkout@v4
62-
63- - name : Set up Python 3.11
64- uses : actions/setup-python@v5
65- with :
66- python-version : ' 3.11'
67-
68- - name : Install with ${{ matrix.extra }} dependencies
69- run : |
70- python -m pip install --upgrade pip
71- pip install -e .[${{ matrix.extra }},test]
72-
73- - name : Run tests with optional dependencies
74- run : |
75- pytest tests/ -v --tb=short
44+ pytest tests/ -v -m "integration"
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ test = [
2929 " pytest-asyncio>=0.21.0" ,
3030 " pytest-jupyter[server]>=0.6" ,
3131 " pytest-tornasync>=0.6.0" ,
32- " pytest-mock>=3.10.0" ,
33- " pytest-cov>=4.0.0"
32+ " pytest-mock>=3.10.0"
3433]
3534dev = [
3635 " ruff>=0.1.0"
You can’t perform that action at this time.
0 commit comments