Skip to content

Drop testing with Python 2.7, add 3.12 #19

Drop testing with Python 2.7, add 3.12

Drop testing with Python 2.7, add 3.12 #19

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- 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 pytest flake8 pytest-cov
- name: Test
run: |
py.test --cov=. --cov-branch --cov-report=xml -v .
flake8 --ignore=E402,W503 --exclude python_tools/reindent.py
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}