Skip to main content

CI/CD pipeline functions

Dagger module: ci/src/ci/main.py

Builds from .devcontainer/Dockerfile, runs uv sync --group dev --frozen, then executes checks — matching GitHub Actions and local just ci.

Functions​

FunctionWhat it runs
checklint → artifacts → test (GitHub Actions default)
lintuv run ruff check ., ruff format --check ., mypy cad cad_tooling tests cad_tooling_tests, vulture
testuv run pytest
artifactsuv run python -m cad_tooling.export smoke
release-artifactuv run python -m cad_tooling.export release -o /tmp/release-artifacts --lighting-preset default → returns dist/ directory

Invocations​

dagger call -m ./ci check --source=.
dagger call -m ./ci test --source=.
dagger call -m ./ci lint --source=.
dagger call -m ./ci artifacts --source=.
dagger call -m ./ci release-artifact --source=. export --path=./dist

Or: just ci, just ci-test, just ci-lint, just ci-artifacts, just ci-release dist/

Source ignore​

Dagger mounts the repo but ignores .git, .venv, ci/.venv, caches, VSIX, and .cursor/ — see SOURCE_IGNORE in ci/src/ci/main.py.

GitHub Actions path filters​

ci.yml runs on changes to:

  • cad/**, tests/**, ci/**
  • .github/workflows/**
  • pyproject.toml, uv.lock, .makerrepo/**

Docs-only changes do not trigger Dagger CI (separate docs-pr.yml).

Not in the CI/CD pipeline​

  • OCP CAD Viewer VSIX install
  • MCP servers

See CI/CD pipeline and Dagger.