Skip to content

Commit

Permalink
[feat]: Test wheels after build
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed May 13, 2021
1 parent 610b9d4 commit 1ad1e04
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Build and upload to PyPI

env:
CIBW_BUILD: cp36-* cp37-* cp38-* ## Only compile this cpython versions
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"
# run the package tests using `pytest`
CIBW_BEFORE_TEST: pip install pytest && pip install -r requirements.txt
CIBW_TEST_COMMAND: pytest {package}/tests

# Build on every branch push, tag push, and pull request change:
#on: [push, pull_request]
Expand Down Expand Up @@ -32,7 +37,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows_latest]
many_linux_tag: [manylinux1, manylinux2010, manylinux2014]

steps:
Expand Down

0 comments on commit 1ad1e04

Please sign in to comment.