ci: add GitHub Actions workflow on self-hosted Apple Silicon runners - #12
Merged
Conversation
DawerG
force-pushed
the
ci-github-actions
branch
2 times, most recently
from
June 12, 2026 18:09
cc6940b to
ed2c52c
Compare
DawerG
force-pushed
the
ci-github-actions
branch
from
June 12, 2026 19:18
ed2c52c to
64dabb5
Compare
Add lint (ruff) and pytest jobs on the self-hosted Apple Silicon runners [self-hosted, macos, tahoe, ARM64]; the DSL/composite tests require Metal and MLX. Pin actions/checkout to a commit SHA and install uv via its official install script. Guard jobs to apple/coreai-torch so forks don't run on the self-hosted runners.
Applies ruff check --fix for I001, F401, and F811. The 8 remaining F821 undefined-name errors in tests/test_externalize.py need a manual fix.
…sion_ops The 8 call sites are in @pytest.mark.skip'd tests for a removed API; add # noqa: F821 so ruff passes until the obsolete tests are rewritten or removed.
Normalizes formatting (blank lines, wrapping) in 8 files that predated CI format-checking. No logic changes.
DawerG
force-pushed
the
ci-github-actions
branch
from
June 12, 2026 19:29
64dabb5 to
b2e18bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a GitHub Actions CI workflow running on self-hosted Apple Silicon macOS runners (
[self-hosted, macos, tahoe, ARM64]).Changes
New
.github/workflows/ci.ymlwith two jobs, triggered on PRs tomainand pushes tomain:lint—ruff check .+ruff format --check .python-test—pytest tests/ -n auto -m "not slow"The DSL/composite tests require Metal + MLX on Apple Silicon, hence the macOS runners. Slow-marked tests are deselected (per the
slowmarker inpyproject.toml).actions/checkoutto a full commit SHA and installuvvia its official install scriptif: github.repository == 'apple/coreai-torch'guard so forks don't run on the self-hosted runnerstimeout-minuteson every job