Skip to content

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

[pre-commit.ci] pre-commit autoupdate

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

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.x", "pypy3.8"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Run pytest with coverage
run: pytest --cov=./ --cov-report=xml
- name: Upload coverage report to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true