Skip to content

Commit

Permalink
Merge pull request #814 from htm-community/pypi_cibuildwheel
Browse files Browse the repository at this point in the history
PyPI: install dependencies before the CIBW build
  • Loading branch information
breznak authored Jun 1, 2020
2 parents 736f142 + 3cbed4a commit 8398c62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ jobs:
- name: Build wheel
env:
# install your project dependencies before building
CIBW_BEFORE_BUILD: "pip install -r {project}/requirements.txt"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/py/tests {project}/bindings/py/tests"
# Only build on Python >=3.7 and skip 32-bit builds
Expand Down

0 comments on commit 8398c62

Please sign in to comment.