Skip to content

Commit 51da508

Browse files
committed
Remove codecov integration from CI workflow
- Remove codecov upload step from GitHub Actions - Remove coverage flags from pytest commands - Remove pytest-cov dependency since coverage reporting not needed
1 parent e9bf82f commit 51da508

File tree

2 files changed

+3
-35
lines changed

2 files changed

+3
-35
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,8 @@ jobs:
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"

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
]
3534
dev = [
3635
"ruff>=0.1.0"

0 commit comments

Comments
 (0)