Skip to content

Merge pull request #94 from browniebroke/drop-python3.7 #44

Merge pull request #94 from browniebroke/drop-python3.7

Merge pull request #94 from browniebroke/drop-python3.7 #44

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: pre-commit/[email protected]
- uses: pre-commit-ci/[email protected]
if: always()
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install tox
- run: tox -f py$(echo ${{ matrix.python-version }} | tr -d .)
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}