Skip to content

build(deps): bump the actions group across 1 directory with 5 updates #323

build(deps): bump the actions group across 1 directory with 5 updates

build(deps): bump the actions group across 1 directory with 5 updates #323

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "23 9 * * 1"
workflow_call:
workflow_dispatch:
inputs:
require_live_loomweave:
description: "Run live Loomweave integration tests and fail if Loomweave is unavailable"
required: false
default: false
type: boolean
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync --group dev
- run: uv run ruff check src/ tests/ scripts/
- run: uv run ruff format --check src/ tests/ scripts/
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- run: uv sync --group dev
- run: uv run mypy src/filigree/
frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run format:check
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: ${{ matrix.python-version }}
- run: uv sync --group dev
- run: uv run pytest --cov --cov-report=term-missing --cov-report=json:coverage.json --cov-fail-under=85
- run: uv run python scripts/check_coverage_floors.py coverage.json
- name: Upload coverage
if: matrix.python-version == '3.13'
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: |
.coverage
coverage.json
loomweave-contract:
name: Loomweave Contract
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.13"
- run: uv sync --group dev
- run: >
uv run pytest
tests/unit/test_registry.py
tests/api/test_registry_backend_integration.py
tests/core/test_registry_backend_matrix.py
tests/api/test_weft_auth.py
tests/federation/test_sei_conformance_oracle.py
live-loomweave:
name: Live Loomweave Integration
if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.require_live_loomweave) }}
runs-on: ubuntu-latest
env:
CLARION_STAGING_BASE_URL: ${{ secrets.CLARION_STAGING_BASE_URL }}
FILIGREE_REQUIRE_LIVE_CLARION: "1"
steps:
- uses: actions/checkout@v7
- uses: astral-sh/setup-uv@v7
with:
enable-cache: true
python-version: "3.13"
- run: uv sync --group dev
- name: Run live Loomweave checks
run: |
if [ "${{ github.event_name }}" = "schedule" ]; then
uv run pytest tests/integration/test_clarion_staging_smoke.py
else
uv run pytest \
tests/integration/test_clarion_staging_smoke.py \
tests/integration/test_clarion_phase_d_e2e.py \
tests/federation/test_sei_oracle_live_clarion.py
fi