Skip to content

Commit 9732e27

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

File tree

5 files changed

+85
-79
lines changed

5 files changed

+85
-79
lines changed

.github/workflows/requirements.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
setuptools >=41.0
2-
wheel
3-
setuptools-rust
1+
maturin ~=1.2
42
requests
53
auditwheel
64
coverage ~=5.0

.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 install --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 install --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)