Skip to content

Commit ce084a3

Browse files
authored
test: Add new build and inspect wheel action (#747)
1 parent 6b6dbdd commit ce084a3

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,13 @@ jobs:
137137
with:
138138
run: conda run --no-capture-output tox -e py39-PySide2-conda
139139
timeout-minutes: 60
140+
141+
check-package:
142+
name: Build & inspect our package.
143+
runs-on: ubuntu-latest
144+
145+
steps:
146+
- uses: actions/checkout@v3
147+
with:
148+
fetch-depth: 0
149+
- uses: hynek/build-and-inspect-python-package@v1

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,6 @@ ignore_missing_imports = true
5757
[[tool.mypy.overrides]]
5858
module = "oiffile"
5959
ignore_missing_imports = true
60+
61+
[tool.check-wheel-contents]
62+
toplevel = ["PartSeg", "PartSegCore", "PartSegImage"]

0 commit comments

Comments
 (0)