Skip to content

.github/workflows/ci: Fix branch and add 3.11 #62

.github/workflows/ci: Fix branch and add 3.11

.github/workflows/ci: Fix branch and add 3.11 #62

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
name: CI on python${{ matrix.python }} via ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-20.04"]
python: [3.6, 3.9, 3.11]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Run flake8
run: tox -e flake8
- name: Run unit tests
run: tox -e py3