Skip to content

migrate setup.py to pyproject.toml #180

migrate setup.py to pyproject.toml

migrate setup.py to pyproject.toml #180

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install tox
- name: Run tests
run: tox -e unit-tests
linters:
runs-on: ubuntu-latest
container:
image: cimg/python:3.12
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: pip install tox
- name: Run linters
run: tox -e linters
typecheck:
runs-on: ubuntu-latest
container:
image: cimg/python:3.12
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install dependencies
run: pip install tox
- name: Run typecheck
run: tox -e typecheck