Skip to content

Conversation

Copy link

Copilot AI commented Jan 27, 2026

Summary

The test-mcu-cortex-m-backend job previously ran only on nightly schedules and main branch pushes. This PR makes it run on pull requests that modify ARM-related code paths.

Changes:

  • Added backends/arm/**, examples/arm/**, backends/cortex_m/** to workflow-level pull_request.paths trigger
  • Extended changes job with arm output filter for the same paths
  • Made test-mcu-cortex-m-backend conditionally execute via needs: changes + if: needs.changes.outputs.arm == 'true'

Follows existing pattern from test-static-llama-qnn-eval-linux job. Job still runs on main branch pushes and nightly schedules.

Test plan

  • Validated YAML syntax
  • Verified pattern matches existing conditional job structure in workflow
  • Security scan: 0 alerts
Original prompt

On trunk.yml, How to make test-mcu-cortex-m-backend run per every diff in backends/arm/**
examples/arm/**// is there a way to run instead of nightly ?


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Github Executorch and others added 2 commits January 27, 2026 10:14
Copilot AI changed the title [WIP] Update test schedule for MCU Cortex M backend Run test-mcu-cortex-m-backend on ARM-related PR diffs Jan 27, 2026
Copilot AI requested a review from psiddh January 27, 2026 20:07
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