From 3216bae83303e364419770fb6399f556a651b127 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 9 Aug 2025 11:45:21 +0000 Subject: [PATCH 1/2] Remove Codecov integration and coverage reporting Co-authored-by: nicoragne --- .codecov.yaml | 3 --- .github/workflows/ci.yml | 21 +++------------------ README.md | 2 +- pyproject.toml | 1 - 4 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 .codecov.yaml diff --git a/.codecov.yaml b/.codecov.yaml deleted file mode 100644 index dc46984e..00000000 --- a/.codecov.yaml +++ /dev/null @@ -1,3 +0,0 @@ -comment: false -github_checks: - annotations: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed498934..4c6cf175 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,26 +57,11 @@ jobs: if: ${{ matrix.coverage != true }} run: pytest - - name: Run tests and collect coverage + - name: Run tests if: ${{ matrix.coverage == true }} - run: | - pytest \ - --cov=gitingest \ - --cov=server \ - --cov-branch \ - --cov-report=xml \ - --cov-report=term + run: pytest + - - name: Upload coverage to Codecov - if: ${{ matrix.coverage == true }} - uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: coverage.xml - flags: ${{ matrix.os }}-py${{ matrix.python-version }} - name: codecov-${{ matrix.os }}-${{ matrix.python-version }} - fail_ci_if_error: true - verbose: true - name: Run pre-commit hooks uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 diff --git a/README.md b/README.md index a31c780a..f16e612b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@
CI - + Ruff OpenSSF Scorecard
diff --git a/pyproject.toml b/pyproject.toml index aa17bd7f..26c2e892 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,6 @@ dev = [ "pre-commit", "pytest", "pytest-asyncio", - "pytest-cov", "pytest-mock", ] From 0f024adaf49e8edd751b5844366a172533c1930b Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 9 Aug 2025 12:13:38 +0000 Subject: [PATCH 2/2] Reduce Python test matrix to 3.8 and 3.13 versions Co-authored-by: nicoragne --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c6cf175..e6eb3c11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.8", "3.13"] include: - os: ubuntu-latest python-version: "3.13"