Skip to content

Add PEP-561 with py.typed #41

Add PEP-561 with py.typed

Add PEP-561 with py.typed #41

Workflow file for this run

name: CI
on: [pull_request]
jobs:
build:
name: Test on ${{ matrix.os }} / Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10' ]
exclude:
- os: macos-latest
python-version: 3.8
- os: macos-latest
python-version: 3.9
- os: macos-latest
python-version: pypy-3.8
- os: macos-latest
python-version: pypy-3.9
- os: macos-latest
python-version: pypy-3.10
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install wheel
run: pip install setuptools wheel
- name: Build package
run: python setup.py install
- name: Run tests
run: python tests.py
- name: Run mypy tests
run: python mypy_run.py