Skip to content

Commit

Permalink
Use coverage directly instead of dwas for reporting coverage
Browse files Browse the repository at this point in the history
We will want to compiel coverage from multiple OSs, which we do not
handle normally otherwise. As such, let's just use coverage, it's going
to be faster too
  • Loading branch information
BenjaminSchubert committed Dec 30, 2023
1 parent 04c5f39 commit 59961b3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,18 @@ jobs:
python-version: ${{ env.DEFAULT_PYTHON }}
cache: pip

# FIXME: we should take dwas from pypi once it's published
- name: Install dwas
run: python -m pip install .
- name: Install coverage
run: python -m pip install coverage

- name: Download generated coverage files
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: coverage-*
path: .dwas/cache
path: reports/

- name: debug
run: find reports

- name: Generate coverage report
run: dwas --verbose --only coverage
Expand Down

0 comments on commit 59961b3

Please sign in to comment.