Skip to content

Conversation

@pan-x-c
Copy link
Collaborator

@pan-x-c pan-x-c commented Jul 22, 2025

Description

  • /unittest-all: Run all unit-tests
  • /unittest-diff: Check for changed modules and run tests in those modules
  • /unittest-module-xxx: Run tests in xxx module

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has passed all tests
  • Docstrings have been added/updated in Google Style
  • Documentation has been updated
  • Code is ready for review

@gemini-code-assist
Copy link
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@pan-x-c pan-x-c requested a review from Copilot July 22, 2025 05:15
Copy link

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

This PR adds new unittest command options for GitHub Actions workflows, expanding from a single /run-unittest command to multiple test execution modes including running all tests, running tests for changed modules only, and running tests for specific modules.

  • Adds three new unittest command variants: /unittest-all, /unittest-diff, and /unittest-module-xxx
  • Implements logic to detect test type from comment body and execute appropriate test strategy
  • Adds functionality to identify changed modules and run only relevant tests for diff mode

@chenyushuo chenyushuo merged commit db4afd4 into modelscope:main Jul 22, 2025
1 check 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.

2 participants