Skip to content

Commit

Permalink
Update test.yml Actions workflow to use pip to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jan 9, 2025
1 parent ea94107 commit 8de8187
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 79 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
setuptools >=41.0
wheel
setuptools-rust
maturin ~=1.2
requests
auditwheel
coverage ~=5.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Update CI requirements
run: python -m pip install -U -r .github/workflows/requirements.txt
- name: Build extension
run: python setup.py build_ext --inplace --debug
run: python -m pip --no-build-isolation -e .
- name: Test extension with coverage
run: python -m coverage run -m unittest discover -vv
- name: Export coverage reports
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Update CI requirements
run: python -m pip install -U -r .github/workflows/requirements.txt
- name: Build extension
run: python setup.py build_ext --inplace --debug
run: python -m pip --no-build-isolation -e .
- name: Test extension with coverage
run: python -m coverage run -m unittest discover -vv
- name: Export coverage reports
Expand Down
Loading

0 comments on commit 8de8187

Please sign in to comment.