Skip to content

add support for _call_ = False in config_to_dict (so bare function or class) #14

add support for _call_ = False in config_to_dict (so bare function or class)

add support for _call_ = False in config_to_dict (so bare function or class) #14

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Environment
uses: ./.github/actions/environment
with:
token: ${{ secrets.GH_PAT }}
- name: Ruff Format
run: uv run ruff format --check --output-format=github .
- name: Ruff Lint
run: uv run ruff check --output-format=github .
- name: Pyright
uses: jakebailey/pyright-action@v2
with:
version: PATH
# Create visual boxes in PR for errors/warnings
annotate: all
# Job 2: Tests (Runs in parallel)
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Environment
uses: ./.github/actions/venv
with:
token: ${{ secrets.GH_PAT }}
- name: Run Pytest
run: uv run pytest --junitxml=test-results.xml -o console_output_style=count
# (Optional) Publish Test Report to GitHub UI
# This gives you a nice summary table of passed/failed tests
- name: Publish Test Report
uses: mikepenz/action-junit-report@v6
if: success() || failure() # Run even if tests fail
with:
report_paths: 'test-results.xml'