Skip to content

Commit

Permalink
workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
peekxc committed Jul 17, 2024
1 parent 6c55aec commit 97dc8f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ jobs:
CIBW_ARCHS_WINDOWS: ${{ matrix.cibw_arch }}
# -Wl,-S equivalent to gcc's -Wl,--strip-debug
LDFLAGS: "-Wl,-S"
CIBW_TEST_REQUIRES: pytest pytest-cov coverage
CIBW_TEST_COMMAND: coverage run --source={package} -m pytest {package}/tests && coverage report -m


- uses: actions/upload-artifact@v3
with:
name: wheels
Expand Down Expand Up @@ -104,8 +102,6 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
CIBW_MANYLINUX_I686_IMAGE: manylinux1
CIBW_TEST_SKIP: "*-macosx_arm64"
CIBW_TEST_REQUIRES: pytest pytest-cov coverage
CIBW_TEST_COMMAND: coverage run --source={package} -m pytest {package}/tests && coverage report -m

- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -147,9 +143,7 @@ jobs:
CIBW_SKIP: "*-musllinux_*"
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw_manylinux }}
CIBW_TEST_REQUIRES: pytest pytest-cov coverage
CIBW_TEST_COMMAND: coverage run --source={package} -m pytest {package}/tests && coverage report -m


- uses: actions/upload-artifact@v3
with:
name: wheels
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ __pycache__

docs/build
site/
wheelhouse/simplextree-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ dev = [
[tool.meson-python.args]
setup = ['--default-library=static']

[tool.cibuildwheel]
test-requires = ["pytest", "pytest-cov", "coverage"]
test-command = "coverage run --source={package} -m pytest {package}/tests"

[tool.black]
line-length = 180
include = '\.pyi?$'
Expand Down

0 comments on commit 97dc8f6

Please sign in to comment.