Skip to content

Commit a49c219

Browse files
authored
Merge pull request #184 from PeterJCLaw/ensure-annotations-published
Publish type annotations
2 parents cc75636 + fdcb4d2 commit a49c219

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/workflows/python-test.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,26 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v3
4040
- uses: psf/black@stable
41+
42+
check-types-published:
43+
runs-on: ubuntu-latest
44+
steps:
45+
- uses: actions/checkout@v3
46+
- uses: actions/setup-python@v5
47+
with:
48+
python-version: '3.12'
49+
- run: |
50+
pip install build
51+
python -m build --sdist --wheel
52+
53+
temp=$(mktemp -d)
54+
55+
python -m venv $temp/venv
56+
source $temp/venv/bin/activate
57+
58+
pip install mypy ./dist/*whl
59+
60+
cd $temp
61+
62+
echo 'import pythonosc' > demo.py
63+
mypy demo.py
File renamed without changes.

0 commit comments

Comments
 (0)