Skip to content

Commit 57a6e89

Browse files
committed
chore: run pip check as part of tests
1 parent d516583 commit 57a6e89

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

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

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

135135
check_dist:
136136
name: Check dist

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ build = "cp39-*"
8686
build-frontend = "build[uv]"
8787
build-verbosity = 1
8888
test-extras = "test"
89-
test-command = "pytest {project}/tests"
89+
test-command = ["pip check", "pytest {project}/tests"]
9090
test-skip = ["*-win_arm64", "*-macosx_universal2:arm64"]
9191
environment-pass = ["SETUPTOOLS_SCM_PRETEND_VERSION"]
9292

0 commit comments

Comments
 (0)