Skip to content

Bump the dependencies group with 2 updates #286

Bump the dependencies group with 2 updates

Bump the dependencies group with 2 updates #286

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install hatch
- run: hatch run dev:lint
- run: hatch run dev:fmt
- run: git diff --exit-code
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install hatch
- run: hatch run test:test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install hatch
- run: hatch run test:cov
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false # set to true after configuring in https://docs.codecov.com
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hynek/build-and-inspect-python-package@v2
done:
needs: [lint, test, coverage, build]
runs-on: ubuntu-latest
steps:
- run: "true"