Skip to content

Fix the inspect bug by generating a __signature__ with a descriptor. #99

Fix the inspect bug by generating a __signature__ with a descriptor.

Fix the inspect bug by generating a __signature__ with a descriptor. #99

Workflow file for this run

name: UnitTests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-prefab:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.13-dev", "3.12", "3.11", "3.10", "pypy-3.10", "3.9", "3.8"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
- name: Test with pytest
run: |
pytest tests/ --cov=src/ --cov-report=term-missing
test-stubs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e .[testing]
- name: Check type stub files
run: |
python -m mypy.stubtest ducktools.classbuilder