Commit c2d2812
committed
workflow: Add minimal Zephyr unit tests workflow for SOF CI
This commit introduces a basic GitHub Actions workflow to establish
the foundation for running SOF unit tests that have been ported from
cmocka to Zephyr ztest framework.
The workflow currently includes:
- Basic checkout step with proper fetch depth and tree filtering
- West initialization and workspace setup
- Environment verification step for debugging
This is the first iteration of the workflow, designed to validate
the basic environment setup before implementing the full test
execution pipeline. The workflow will be expanded in subsequent
commits to include:
- Zephyr SDK installation
- Complete environment configuration
- Unit test compilation and execution using west twister
- Test result collection and reporting
Testing approach:
- Triggers only on pull requests for safe testing
- Minimal resource usage during initial validation
- Debug output to verify workspace structure
The workflow follows SOF CI patterns and prepares the groundwork
for integrating ztest unit tests into the continuous integration
pipeline.
Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>1 parent 56d907a commit c2d2812
1 file changed
+40
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments