Skip to content

Serializations for mixed content documents #526

Serializations for mixed content documents

Serializations for mixed content documents #526

---
name: quality-checks
on:
pull_request:
push:
branches:
- main
workflow_call:
inputs:
ref:
required: true
type: string
workflow_dispatch:
inputs:
ref:
description: A git reference to check out.
default: main
required: true
type: string
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.8 # 2024-10
- 3.9 # 2025-10
- "3.10" # 2026-10
- "3.11" # 2027-10
- "3.12" # 2028-10
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: extractions/setup-just@v2
- run: pip install hatch
- run: just pytest
other-quality-checks:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- code-lint
- doctest
- mypy
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref || github.ref }}
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- uses: extractions/setup-just@v2
- run: pip install hatch
- run: just ${{ matrix.target }}
...