Skip to content

pre-commit: bump repositories #203

pre-commit: bump repositories

pre-commit: bump repositories #203

Workflow file for this run

name: tests
on:
pull_request:
push:
branches:
- main
env:
FORCE_COLOR: 1
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
pytest:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os:
- ubuntu
- windows
- macos
python:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: python -m pip install .[test]
- run: python -m pytest --showlocals -vv --cov --cov-report=xml
- uses: codecov/codecov-action@v4
if: always()
env:
PYTHON: ${{ matrix.python }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
flags: tests
env_vars: PYTHON
name: ${{ matrix.os }} - ${{ matrix.python }}