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..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" @@ -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", ]