Skip to content

Add missing type_params attribute for ClassDef node before Python3.12 #75

Add missing type_params attribute for ClassDef node before Python3.12

Add missing type_params attribute for ClassDef node before Python3.12 #75

Workflow file for this run

name: core
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.1"]
include:
- python-version: 3.6
os: ubuntu-20.04
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v3
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
pip install pytest
- name: Setup
run: |
python setup.py install
- name: Testing sequential
run: |
pytest
build-27:
runs-on: ubuntu-20.04
container:
image: python:2.7.18-buster
env:
py27: 2.7
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
- name: Setup
run: |
python setup.py install
- name: Testing sequential
run: |
pytest