Continuous Integration
This page describes the CI workflows that exist in this repository today and how they are typically used.
CI Overview
The repository uses a mix of:
- PR-triggered workflows for routine validation
- label-gated workflows for heavier test coverage
- manually dispatched workflows for ad hoc runs
- release and documentation workflows
The main GitHub Actions workflow files live under .github/workflows/.
Pull Request Validation
The main PR entry point is tests_entry.yml.
Current behavior:
helia_test.ymlruns for pull requests through tests_entry.yml- the broader
ci.ymlsuite is only invoked on PRs when the PR has theci:run_fulllabel
Relevant workflows:
Label-Gated Full CI
The label used in the current repository is ci:run_full.
When a pull request has ci:run_full:
tests_entry.ymlcalls the broaderci.ymlworkflow- additional Cortex-M workflows are also wired to run on labeled PR events
Relevant workflows:
ci:run still appears in a few automation paths for bot-created PRs, but it is not the main user-facing full-CI label described by the active PR entry workflows.
Post-Merge Validation
The post-merge entry point is tests_post.yml.
This workflow runs on closed pull requests and is intended for longer-running validation after merge. It currently fans out into:
- Docker image build updates
- Ambiq test runs
- Cortex-M validation
Relevant workflow:
Manual Workflow Entry Points
Several workflows can be triggered manually with workflow_dispatch.
Common manual entry points:
- run_ci.yml: manual entry point for the reusable
ci.ymlworkflow - run_helia.yml: manual entry point for helia build and test flows
- cortex_m.yml: manual Cortex-M validation
- cortex_m_arm_compiler.yml: manual Arm Compiler 6 Cortex-M validation
- docs.yml: documentation build and publish workflow
Release and Asset Workflows
Release automation and asset packaging are handled separately from routine presubmit CI.
Relevant workflows:
- release-please.yml
- helia_release.yml
- zephyr_tflm_rt_assets.yml (manual dispatch)
Sync Workflow
This repository also keeps a sync workflow for pulling shared changes from TensorFlow-related upstream sources.
Relevant workflow:
Error Reporting
Several workflows call a shared issue-reporting workflow when a run fails in the main repository.
Relevant workflow:
Local Validation
For local verification, the exact command depends on the workflow you are trying to mirror. In practice, the most useful approach is to inspect the referenced workflow file and then run the underlying script or build command locally.
For example, the reusable CI workflow delegates to scripts under:
tensorflow/lite/micro/tools/ci_build/
Notes
- This page documents the workflows that are present in the repository now.
- If a workflow file changes, this page should be updated to match the current trigger and entry-point model.
- GitHub Actions file links here intentionally point to GitHub rather than relative local paths, so the published docs site does not produce broken links.