Skip to content

ci: add GitHub Actions workflow on self-hosted Apple Silicon runners - #12

Merged
DawerG merged 4 commits into
mainfrom
ci-github-actions
Jun 12, 2026
Merged

ci: add GitHub Actions workflow on self-hosted Apple Silicon runners#12
DawerG merged 4 commits into
mainfrom
ci-github-actions

Conversation

@DawerG

@DawerG DawerG commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

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.yml with two jobs, triggered on PRs to main and pushes to main:

  • lintruff check . + ruff format --check .
  • python-testpytest 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 slow marker in pyproject.toml).

  • Pin actions/checkout to a full commit SHA and install uv via its official install script
  • if: github.repository == 'apple/coreai-torch' guard so forks don't run on the self-hosted runners
  • timeout-minutes on every job

@DawerG
DawerG force-pushed the ci-github-actions branch 2 times, most recently from cc6940b to ed2c52c Compare June 12, 2026 18:09

@gokulkrishna98 gokulkrishna98 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@DawerG
DawerG force-pushed the ci-github-actions branch from ed2c52c to 64dabb5 Compare June 12, 2026 19:18
DawerG added 4 commits June 12, 2026 12:22
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
DawerG force-pushed the ci-github-actions branch from 64dabb5 to b2e18bc Compare June 12, 2026 19:29
@DawerG
DawerG requested a review from TobyRoseman June 12, 2026 19:51
@DawerG
DawerG merged commit 3a3ed6f into main Jun 12, 2026
2 checks passed
@DawerG
DawerG deleted the ci-github-actions branch June 12, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants