Skip to content

Bump pre-commit from 3.8.0 to 4.0.0 #206

Bump pre-commit from 3.8.0 to 4.0.0

Bump pre-commit from 3.8.0 to 4.0.0 #206

Workflow file for this run

name: Test and build
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
python-version: ['3.11']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.2.2
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}