Skip to content

[pre-commit.ci] pre-commit autoupdate #33

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #33

Workflow file for this run

---
name: CI
on:
push:
branches: ["main"]
tags: ["*"]
pull_request:
jobs:
tests:
name: "Python ${{ matrix.python-version }}"
runs-on: ${{ matrix.machine }}
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.7"
machine: ubuntu-22.04
- python-version: "3.8"
machine: ubuntu-22.04
- python-version: "3.9"
machine: ubuntu-22.04
- python-version: "3.10"
machine: ubuntu-22.04
- python-version: "3.11"
machine: ubuntu-22.04
- python-version: "3.12"
machine: ubuntu-22.04
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true
- name: "Install dependencies"
run: |
set -xe
python -VV
python -m site
python -m pip install --upgrade pip wheel
python -m pip install --upgrade tox tox-gh-actions
- name: "Run tox targets for ${{ matrix.python-version }}"
run: |
python -m tox
- uses: codecov/codecov-action@v3