Skip to content

Commit 103b991

Browse files
committed
Update test.yml Actions workflow to use pip to build package
1 parent ea94107 commit 103b991

File tree

4 files changed

+84
-76
lines changed

4 files changed

+84
-76
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Update CI requirements
4646
run: python -m pip install -U -r .github/workflows/requirements.txt
4747
- name: Build extension
48-
run: python setup.py build_ext --inplace --debug
48+
run: python -m pip --no-build-isolation -e .
4949
- name: Test extension with coverage
5050
run: python -m coverage run -m unittest discover -vv
5151
- name: Export coverage reports
@@ -96,7 +96,7 @@ jobs:
9696
- name: Update CI requirements
9797
run: python -m pip install -U -r .github/workflows/requirements.txt
9898
- name: Build extension
99-
run: python setup.py build_ext --inplace --debug
99+
run: python -m pip --no-build-isolation -e .
100100
- name: Test extension with coverage
101101
run: python -m coverage run -m unittest discover -vv
102102
- name: Export coverage reports

0 commit comments

Comments
 (0)