Skip to content

Commit c9fff75

Browse files
ci: remove codecov and reduce test matrix (#506)
Co-authored-by: Cursor Agent <[email protected]>
1 parent 4871b84 commit c9fff75

File tree

4 files changed

+5
-24
lines changed

4 files changed

+5
-24
lines changed

.codecov.yaml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
os: [ubuntu-latest, macos-latest, windows-latest]
23-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
23+
python-version: ["3.8", "3.13"]
2424
include:
2525
- os: ubuntu-latest
2626
python-version: "3.13"
@@ -57,26 +57,11 @@ jobs:
5757
if: ${{ matrix.coverage != true }}
5858
run: pytest
5959

60-
- name: Run tests and collect coverage
60+
- name: Run tests
6161
if: ${{ matrix.coverage == true }}
62-
run: |
63-
pytest \
64-
--cov=gitingest \
65-
--cov=server \
66-
--cov-branch \
67-
--cov-report=xml \
68-
--cov-report=term
62+
run: pytest
63+
6964

70-
- name: Upload coverage to Codecov
71-
if: ${{ matrix.coverage == true }}
72-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
73-
with:
74-
token: ${{ secrets.CODECOV_TOKEN }}
75-
files: coverage.xml
76-
flags: ${{ matrix.os }}-py${{ matrix.python-version }}
77-
name: codecov-${{ matrix.os }}-${{ matrix.python-version }}
78-
fail_ci_if_error: true
79-
verbose: true
8065

8166
- name: Run pre-commit hooks
8267
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<br>
1212
<!-- row 2 — quality & community -->
1313
<a href="https://github.com/coderamp-labs/gitingest/actions/workflows/ci.yml?query=branch%3Amain"><img src="https://github.com/coderamp-labs/gitingest/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI"></a>
14-
<!-- <a href="https://codecov.io/gh/coderamp-labs/gitingest"><img src="https://codecov.io/gh/coderamp-labs/gitingest/graph/badge.svg" alt="Code Coverage"></a> -->
14+
1515
<a href="https://github.com/astral-sh/ruff"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json" alt="Ruff"></a>
1616
<a href="https://scorecard.dev/viewer/?uri=github.com/coderamp-labs/gitingest"><img src="https://api.scorecard.dev/projects/github.com/coderamp-labs/gitingest/badge" alt="OpenSSF Scorecard"></a>
1717
<br>

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ dev = [
4040
"pre-commit",
4141
"pytest",
4242
"pytest-asyncio",
43-
"pytest-cov",
4443
"pytest-mock",
4544
]
4645

0 commit comments

Comments
 (0)