Skip to content

cancel in-progress runs when PR is updated or merged#4609

Merged
lvhan028 merged 2 commits into
InternLM:mainfrom
lvhan028:fix-ut-ci
May 23, 2026
Merged

cancel in-progress runs when PR is updated or merged#4609
lvhan028 merged 2 commits into
InternLM:mainfrom
lvhan028:fix-ut-ci

Conversation

@lvhan028

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 10:42

Copilot AI 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.

Pull request overview

Updates the unit-test GitHub Actions workflow to reduce redundant CI work by canceling prior in-progress runs when a new run for the same PR/ref starts, and tweaks test invocation output verbosity.

Changes:

  • Add workflow-level concurrency with cancel-in-progress: true to auto-cancel older runs for the same group.
  • Run pytest with increased verbosity (-vv) under coverage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/unit_test.yml
@lvhan028 lvhan028 changed the title cancel in-progress runs when PR is updated cancel in-progress runs when PR is updated or merged May 21, 2026

@RunningLeon RunningLeon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@lvhan028 lvhan028 merged commit 1ef378d into InternLM:main May 23, 2026
3 of 5 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.

3 participants