Skip to content

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

Open
lvhan028 wants to merge 2 commits into
InternLM:mainfrom
lvhan028:fix-ut-ci
Open

cancel in-progress runs when PR is updated or merged#4609
lvhan028 wants to merge 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
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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
Copy link
Copy Markdown
Collaborator

@RunningLeon RunningLeon left a comment

Choose a reason for hiding this comment

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

LGTM

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