Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,9 @@ jobs:
- name: Verify py.typed ships in wheel
run: |
python -c "
import zipfile, modelfuzz, pathlib
wheel = next(pathlib.Path(modelfuzz.__path__[0]).parent.glob('modelfuzz-*.dist-info/../..'))
# Find the wheel via pip show
import subprocess, json
loc = subprocess.check_output(['pip', 'show', '-f', 'modelfuzz'], text=True)
assert 'py.typed' in loc, 'py.typed not found in installed files'
import pathlib, modelfuzz
marker = pathlib.Path(modelfuzz.__path__[0]) / 'py.typed'
assert marker.exists(), f'py.typed not found at {marker}'
print('py.typed: present')
"

Expand Down
Loading