Skip to content

CI: Linux only for pull requests, cancel superseded runs - #104

Merged
antagomir merged 2 commits into
develfrom
ci-faster
Nov 22, 2026
Merged

antagomir merged 2 commits into
develfrom
ci-faster

Conversation

@antagomir

Copy link
Copy Markdown
Member

Speeds up CI. At the moment every pull request and every push runs the full check on Linux, macOS and Windows (30–40 minutes each), and nothing cancels runs that are no longer needed.

Changes to .github/workflows/rworkflows.yml

  • Pull requests: Linux only. Linux is the only required check (ubuntu-latest (auto)), and its name stays the same. Pushes, e.g. merges to devel, still run Linux, macOS and Windows, so platform problems show up right after a merge. A small first job (matrix) chooses the operating systems based on the event.
  • Cancel superseded runs (concurrency with cancel-in-progress). A new push to the same pull request cancels the older run, and several merges to devel in a row give one devel run instead of several.
  • Test coverage only on Linux instead of on all three systems.
  • Skip pushes that change only NEWS, *.md or issue templates, e.g. the batched NEWS updates. This is not done for pull requests: there the required check would never report, and the pull request could not be merged.

In addition, pushes to feature branches no longer run CI ('*' removed from the push branches). Until now, a push to a pull-request branch ran CI twice, once for the push and once for the pull request.

Repository setting

devel has no branch protection in miaSim, so no setting needed changing.

This pull request's own CI run is the first test of the new setup: it should run only the matrix job and Linux.

🤖 Generated with Claude Code

antagomir and others added 2 commits November 22, 2026 15:34
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@antagomir
antagomir merged commit 06cda57 into devel Nov 22, 2026
2 checks passed
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