Skip to content

Commit 7629035

Browse files
authored
chore: run pip check as part of tests (#264)
1 parent 0b78297 commit 7629035

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
run: pip install $(ls sdist/*.tar.gz)[test] -Ccmake.define.BUILD_CMAKE_FROM_SOURCE=OFF
133133

134134
- name: Test installed SDist
135-
run: pytest ./tests
135+
run: pip check && pytest ./tests
136136

137137
check_dist:
138138
name: Check dist

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ manylinux-x86_64-image = "manylinux2010"
105105
manylinux-i686-image = "manylinux2010"
106106
build-frontend = "pip"
107107
environment = { LDFLAGS = "-static-libstdc++" }
108+
inherit.test-command = "prepend"
109+
test-command = "pip check"
108110

109111
[[tool.cibuildwheel.overrides]]
110112
select = "*-musllinux_*"
@@ -113,6 +115,8 @@ environment = { LDFLAGS = "-static-libstdc++ -static-libgcc" }
113115
[[tool.cibuildwheel.overrides]]
114116
select = "*-musllinux_s390x"
115117
build-frontend = "pip"
118+
inherit.test-command = "prepend"
119+
test-command = "pip check"
116120

117121

118122
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)