Skip to content

Commit

Permalink
ci(release_wheels): install dev requirements in CIBW_BEFORE_TEST
Browse files Browse the repository at this point in the history
  • Loading branch information
lovesegfault committed Mar 11, 2022
1 parent 9ebb5c9 commit a25b078
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ jobs:
CIBW_BEFORE_BUILD_MACOS: "brew install libomp"
CIBW_REPAIR_WHEEL_COMMAND_MACOS: ""
# due to package and module name conflict have to temporarily move it away to run tests
CIBW_BEFORE_TEST: "mv {package}/qsimcirq /tmp"
CIBW_BEFORE_TEST: >
mv {package}/qsimcirq /tmp
pip install -r {package}/dev-requirements.txt
CIBW_TEST_COMMAND: "pytest {package}/qsimcirq_tests/qsimcirq_test.py && mv /tmp/qsimcirq {package}"
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit a25b078

Please sign in to comment.