Skip to content

Have more granular change detection for platforms #142278

@brettcannon

Description

@brettcannon

Right now, https://github.com/python/cpython/blob/main/.github/workflows/reusable-context.yml whether to run:

  • All tests
  • Build docs
  • Windows tests
  • Windows MSI
  • Fuzzing

This could probably be expanded to cover platform-specific files so that when you edit only e.g. WASI-specific files you only run CI for WASI. The platforms we could cover are:

  • macOS
  • iOS
  • Android
  • Emscripten
  • WASI

Namely every platform that has a dedicated directory where if only files in those directories are edited you could skip all other CI tests.

Linked PRs

Metadata

Metadata

Labels

3.13bugs and security fixes3.14bugs and security fixesinfraCI, GitHub Actions, buildbots, Dependabot, etc.type-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions