Skip to content

[pre-commit.ci] pre-commit autoupdate (#90) #67

[pre-commit.ci] pre-commit autoupdate (#90)

[pre-commit.ci] pre-commit autoupdate (#90) #67

Workflow file for this run

name: Run Test Suite
on:
pull_request:
push:
branches:
- main
schedule:
# run tests at 00:00 UTC on day 1 of every month
- cron: '0 0 1 * *'
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.11"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Hatch
run: |
pip install hatch
- name: Build documentation
run: hatch run docs:build
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11", "3.13"]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install hatch
uses: pypa/hatch@install
- name: Check dependencies
run: hatch run audit:check
- name: Test suite
run: hatch run +py=${{ matrix.python-version }} test:run
- name: Report coverage
shell: bash
run: bash <(curl -s https://codecov.io/bash)