Exclude the same special attributes from Protocol as CPython (#15490) #2248
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test stubgenc on pybind11-mypy-demo | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main, master, 'release*'] | |
tags: ['*'] | |
pull_request: | |
paths: | |
- 'misc/test-stubgenc.sh' | |
- 'mypy/stubgenc.py' | |
- 'mypy/stubdoc.py' | |
- 'test-data/stubgen/**' | |
jobs: | |
stubgenc: | |
# Check stub file generation for a small pybind11 project | |
# (full text match is required to pass) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup 🐍 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Test stubgenc | |
run: misc/test-stubgenc.sh |