Add PyModule_Add() function #211
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: Build | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
# The list of all available versions can be found here: | |
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | |
python: | |
# CPython | |
- "3.7" | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
# CPython 3.12 final is scheduled for October 2013: | |
# https://peps.python.org/pep-0693/ | |
- "3.12-dev" | |
# PyPy | |
- "pypy2.7" | |
- "pypy3.7" | |
- "pypy3.8" | |
- "pypy3.9" | |
include: | |
# Windows: test old and new Python | |
- os: windows-latest | |
python: 3.6 | |
- os: windows-latest | |
python: 3.11 | |
# macOS: test old and new Python | |
- os: macos-latest | |
python: 3.6 | |
- os: macos-latest | |
python: 3.11 | |
- os: ubuntu-18.04 | |
python: 3.4 | |
- os: ubuntu-20.04 | |
python: 3.5 | |
- os: ubuntu-20.04 | |
python: 3.6 | |
# Python 2.7 was removed from GHA setup-python in June 2023: | |
# https://github.com/actions/setup-python/issues/672 | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
# https://github.com/actions/setup-python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install setuptools | |
run: python -m pip install setuptools | |
- name: Display the Python version | |
run: python -VV | |
- name: Run tests | |
run: python runtests.py --current --verbose |