From 3de245520daf17fa712c421da724875295473d9b Mon Sep 17 00:00:00 2001 From: haeussma <83341109+haeussma@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:48:12 +0200 Subject: [PATCH] Refactor coverage workflow and remove coverage badge generation --- .github/workflows/coverage.yml | 42 ---------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 .github/workflows/coverage.yml diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml deleted file mode 100644 index 086be4d..0000000 --- a/.github/workflows/coverage.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Coverage Badge - -on: - push: - branches: - - main - - dev - pull_request: - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: 3.x - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install poetry - poetry install --with dev - pip install genbadge coverage - - - name: Run tests and generate coverage report - run: | - coverage xml - genbadge coverage - - - name: Generate coverage badge - run: genbadge coverage -i reports/coverage/coverage.xml -o coverage-badge.svg - - - name: Upload coverage badge to repo - uses: actions/upload-artifact@v3 - with: - name: coverage-badge - path: coverage-badge.svg