Skip to content

Run CPython tests

Run CPython tests #35

name: "CPython tests"
run-name: "Run CPython tests"
on: [push, pull_request]
jobs:
test:
name: "Test"
strategy:
fail-fast: false
# max-parallel: 6
matrix:
os:
- ubuntu-20.04
- windows-latest
python_version:
- "2.7.17"
- "2.7.18"
- "3.2.5"
- "3.3.5"
- "3.4.4"
- "3.5.4"
- "3.5.10"
- "3.6.7"
- "3.6.15"
- "3.7.1"
- "3.7.16"
- "3.8.0"
- "3.8.16"
- "3.9.0"
- "3.10.0"
- "3.10.11"
- "3.11.0"
- "3.11.3"
# Exclude Python versions that are not supported on the OS
exclude:
- os: ubuntu-20.04
python_version: "3.2.5"
- os: ubuntu-20.04
python_version: "3.3.5"
- os: ubuntu-20.04
python_version: "3.4.4"
- os: windows-latest
python_version: "3.5.10"
- os: windows-latest
python_version: "3.6.15"
- os: windows-latest
python_version: "3.7.16"
- os: windows-latest
python_version: "3.8.16"
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Set up Python ${{ matrix.python_version }}"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
check-latest: false
- name: "Run tests"
run: |
python ./scripts/run_tests.py --verbose --pattern "*.py"