Skip to content

Commit

Permalink
chore: run pip check as part of tests (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Nov 23, 2024
1 parent 0b78297 commit 7629035
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
run: pip install $(ls sdist/*.tar.gz)[test] -Ccmake.define.BUILD_CMAKE_FROM_SOURCE=OFF

- name: Test installed SDist
run: pytest ./tests
run: pip check && pytest ./tests

check_dist:
name: Check dist
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ manylinux-x86_64-image = "manylinux2010"
manylinux-i686-image = "manylinux2010"
build-frontend = "pip"
environment = { LDFLAGS = "-static-libstdc++" }
inherit.test-command = "prepend"
test-command = "pip check"

[[tool.cibuildwheel.overrides]]
select = "*-musllinux_*"
Expand All @@ -113,6 +115,8 @@ environment = { LDFLAGS = "-static-libstdc++ -static-libgcc" }
[[tool.cibuildwheel.overrides]]
select = "*-musllinux_s390x"
build-frontend = "pip"
inherit.test-command = "prepend"
test-command = "pip check"


[tool.pytest.ini_options]
Expand Down

0 comments on commit 7629035

Please sign in to comment.