Skip to content

chore: Support Python3.11 in CI #190

chore: Support Python3.11 in CI

chore: Support Python3.11 in CI #190

Workflow file for this run

name: tests
on:
- push
- pull_request
jobs:
test:
name: Run tests
strategy:
matrix:
os: [ubuntu-20.04, macos-latest]
python-version: [3.6, 3.11]
exclude:
- os: ubuntu-20.04
python-version: "3.6"
poetry-version: [1.1.5]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/[email protected]
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Run mypy
run: poetry run mypy src
- name: Run flake8
run: poetry run flake8 src
- name: Run pylint
run: poetry run pylint src
- name: Run tests
run: poetry run pytest src/tests
- name: Run vulture
run: poetry run vulture src