Skip to content

Commit

Permalink
github/workflows: Try to make code coverage for C components work again
Browse files Browse the repository at this point in the history
Seems to have been broken by pip implicitly building wheel in a
temp dir.
  • Loading branch information
zhuyifei1999 committed May 14, 2023
1 parent 4296c0f commit 6e1d780
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ jobs:

- name: Install
if: ${{ !matrix.sdist }}
run: pip install -ve .
run: python3 setup.py build_ext --inplace
env:
CFLAGS: ${{ matrix.codecov && '-coverage' || ''}}
CFLAGS: ${{ matrix.codecov && '--coverage' || ''}}
- name: Install sdist
if: ${{ matrix.sdist }}
shell: bash
run: pip install -v dist/*.tar.gz
env:
CFLAGS: ${{ matrix.codecov && '-coverage' || ''}}

- name: Install codecov
if: ${{ matrix.codecov }}
Expand Down

0 comments on commit 6e1d780

Please sign in to comment.