From 74a29ea2d737cf76b446bcf34a6cfc4a27196427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Louf?= Date: Thu, 15 Aug 2024 15:55:22 +0200 Subject: [PATCH] Remove unused coverage check --- .github/workflows/tests.yml | 46 ------------------------------------- 1 file changed, 46 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2613efa8..849da152 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,52 +43,6 @@ jobs: path: .coverage* if-no-files-found: ignore - coverage: - name: Combine & check coverage. - needs: tests - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - uses: actions/setup-python@v4 - with: - cache: pip - python-version: "3.11" - - - name: Set up environment - run: | - pip install --upgrade "coverage[toml]>=5.1" diff-cover - - - uses: actions/download-artifact@v3 - with: - name: coverage-data - - - name: Fetch master for coverage diff - run: | - git fetch --no-tags --prune origin main - - - name: Combine coverage & fail if it's <100%. - run: | - # Combine coverage files (not needed now, but maybe later) - # python -m coverage combine - - # Produce an html report with absolute coverage information - python -m coverage html --skip-covered --skip-empty - - # Report relative coverage and write to the workflow's summary - python -m coverage xml - diff-cover coverage.xml --markdown-report=coverage.md --fail-under=100 || (cat coverage.md >> $GITHUB_STEP_SUMMARY && exit 1) - - - name: Upload HTML report if check failed. - uses: actions/upload-artifact@v3 - with: - name: html-report - path: htmlcov - if: ${{ failure() }} - build-wheel: name: Build Wheel and Test SDist runs-on: ubuntu-latest