Skip to content

CI: test macOS and Windows on PRs once ubuntu passes, cancel runs of closed PRs - #315

Merged
lkdvos merged 2 commits into
mainfrom
ci-load
Oct 30, 2026
Merged

lkdvos merged 2 commits into
mainfrom
ci-load

Conversation

@lkdvos

@lkdvos lkdvos commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

The shared TestGroups workflow now only tests macOS and Windows with Julia 1, on pushes to the default branch. Since Enzyme plays a large role here, this package opts back in for PRs:

  • extra-os-on-prs: true runs the macOS and Windows jobs (Julia 1 only) on PRs as well.

  • staged only starts them once all ubuntu jobs have passed, so broken or superseded commits do not occupy the scarce macOS runners.

  • Also trigger on closed PR events: the resulting run cancels any in-progress run of the PR through the concurrency group, and the shared workflow skips all its jobs for it. GitHub does not cancel runs of closed or merged PRs by itself.

  • Test exclusions removed: test/runtests.jl excluded the Enzyme tests on macOS and Windows CI, and the Mooncake and ChainRules tests on macOS CI. These exclusions sat behind if filter_tests!(...), which returns false whenever a test group is passed, so they never applied in the TestGroups workflow. On this PR, all of these jobs pass on both systems (macOS Enzyme takes about 45 min), so the exclusions are removed and the macOS/Windows PR jobs now actually test the AD rules.

See QuantumKitHub/QuantumKitHubActions#6 for the shared workflow changes.

🤖 Generated with Claude Code

lkdvos and others added 2 commits October 28, 2026 18:02
…closed PRs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The exclusions of the Enzyme (macOS, Windows), Mooncake and ChainRules (macOS) tests
were only applied when no test group was selected, so they never applied in the
TestGroups workflow, where these tests pass on both systems.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lkdvos
lkdvos merged commit 9a647b2 into main Oct 30, 2026
34 checks passed
@lkdvos
lkdvos deleted the ci-load branch October 30, 2026 12:25
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.

1 participant