Skip to content

Commit

Permalink
install pytest before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Socrats committed May 1, 2021
1 parent 8b566d3 commit 2162536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ jobs:

- uses: joerick/cibuildwheel@v1.10.0
env:
CIBW_TEST_COMMAND: pytest
CIBW_BEFORE_TEST: pip install --user --upgrade -r tests/requirements.txt
CIBW_TEST_COMMAND: pytest {package}/tests
# Python 2.7 on Windows with workaround not supported by scikit-build
CIBW_SKIP: cp27-win*
CIBW_BUILD: cp38-${{ matrix.cibw-arch }}
CIBW_BEFORE_ALL: pip install pytest
CIBW_BEFORE_ALL_MACOS: |
brew install libomp && brew install eigen && brew install openblas
# echo "LIBOMP=$(brew --prefix libomp)" >> $GITHUB_ENV && \
Expand Down

0 comments on commit 2162536

Please sign in to comment.