Skip to content

CI: run the IOTests on pull requests, drafts included - #517

Merged
oliviermattelaer merged 1 commit into
mainfrom
claude/iotest-on-pull-requests
Nov 21, 2026
Merged

oliviermattelaer merged 1 commit into
mainfrom
claude/iotest-on-pull-requests

Conversation

@oliviermattelaer

Copy link
Copy Markdown
Contributor

Since #515 the IOtest workflow ran only on pushes to main or by hand, so a PR that changes generated code got no IOTest run before it merged. It now follows the same rule as unittest:

  • Trigger: pull_request with opened, synchronize, reopened, ready_for_review, converted_to_draft.
  • Jobs: each of the 4 IOTest jobs (IOtest_bundle_1, IOtest_loop_sqso, IOtest_bundle_2, IOtest_gnuplot) has the same if: as the unittest jobs. They run for every PR, draft or not.
  • Fail fast: each job ends with the same cancel step, which stops the other runs of the commit after a failure unless the PR carries run-ci.
  • PR notice: pr-ci-notice.yml now says drafts run unittest and IOtest.

Pushes to main and manual dispatch behave as before.

The same commit is also on #513, so that PR runs its IOTests now. The two copies are identical, so they merge cleanly in either order.

🤖 Generated with Claude Code

IOtest.yml ran only on pushes to main or by hand, so a PR that changes
generated code got no IOTest run before it was merged. It now follows the
unittest rule: pull_request events (opened, synchronize, reopened,
ready_for_review, converted_to_draft), every job runs for any PR, draft
or not, and each job ends with the fail-fast step that cancels the other
runs of the commit unless the PR carries the run-ci label. The notice
posted on new PRs says that drafts run unittest and IOtest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oliviermattelaer
oliviermattelaer merged commit f56fc64 into main Nov 21, 2026
70 of 71 checks passed
@oliviermattelaer
oliviermattelaer deleted the claude/iotest-on-pull-requests branch November 21, 2026 06:08
@github-actions

Copy link
Copy Markdown
Contributor

How CI reacts to this PR

  • Not a draft: the full CI runs automatically when the PR is opened and on every push.
  • Draft: only the unittest and IOtest workflows run. Mark the PR "Ready for review" to start the full CI.
  • run-ci label: while this label is on the PR, every job keeps running after a failure, so you see all failures. Without it, the first failing job cancels the other runs of that commit.
  • Closing or merging: the unfinished CI runs of this PR are cancelled. A merge gets its own run on main.
  • Pushes to main: the full CI runs after each merge.
  • Other branches: run CI only through workflow_dispatch.
  • Forks: the runs use a read-only token, so they cannot cancel each other.
  • Merge: a green CI and one approval are required to merge.

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