Skip to content

Rework pydantic model examples display #33

Rework pydantic model examples display

Rework pydantic model examples display #33

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
workflow_call:
jobs:
# Build Python package
build:
uses: ewoks-kit/.github/.github/workflows/python-build.yml@main
# Run tests
tests:
needs: build
uses: ewoks-kit/.github/.github/workflows/python-tests.yml@main
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python-version }}
pytest-args: >-
-v -ra -W error
${{ matrix.extra-pytest-warnings }}
enable-coverage: ${{ matrix.enable-coverage }}
jupyter-platform-dirs: "1"
codecov-flags: "unit"
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python-version: "3.10"
enable-coverage: "true"
extra-pytest-warnings: ""
- os: ubuntu-latest
python-version: "3.14"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: windows-latest
python-version: "3.10"
enable-coverage: "false"
extra-pytest-warnings: ""
- os: windows-latest
python-version: "3.14"
enable-coverage: "false"
extra-pytest-warnings: ""
# Run linter / checks
checks:
uses: ewoks-kit/.github/.github/workflows/python-check.yml@main
with:
enable-black: "false"
enable-flake8: "false"
enable-isort: "false"
enable-ruff: "true"
# Build documentation
docs:
needs: build
uses: ewoks-kit/.github/.github/workflows/python-docs.yml@main