Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Use coverage directly instead of dwas for…
Browse files Browse the repository at this point in the history
… reporting coverage
  • Loading branch information
BenjaminSchubert committed Dec 30, 2023
1 parent 1183d6f commit ae565c3
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,33 @@ jobs:
path: ${{ env.JUNIT_REPORT_PATH }}/junit-${{ matrix.os }}-${{ matrix.python }}.xml
retention-days: 7

report:
runs-on: ubuntu-latest
needs: test
if: always()

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}

- name: Install package dependencies
run: pip install tabulate

- name: Download junit reports
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: junit-*
path: reports/

- name: Generate summary
run: python .github/scripts/summary.py reports/*.xml > "${GITHUB_STEP_SUMMARY}"

coverage:
runs-on: ubuntu-latest
needs: test
Expand Down Expand Up @@ -192,33 +219,6 @@ jobs:
path: _artifacts/coverage/html
retention-days: 7

report:
runs-on: ubuntu-latest
needs: test
if: always()

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}

- name: Install package dependencies
run: pip install tabulate

- name: Download junit reports
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: junit-*
path: reports/

- name: Generate summary
run: python .github/scripts/summary.py reports/*.xml > "${GITHUB_STEP_SUMMARY}"

twine:
runs-on: ubuntu-latest
needs: package
Expand Down

0 comments on commit ae565c3

Please sign in to comment.