mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-10-08 00:00:23 -04:00
1.2 KiB
1.2 KiB
Plan: Add CI Test Execution
See also: RECOMMENDATIONS.md | PLAN.md
Current State
CI exists (.circleci/) but only builds — no test execution. No .github/workflows/ or .travis.yml.
Implementation Plan
Depends on: Add Unit Tests. Once tests exist:
- Add CI configuration (e.g., GitHub Actions) with a test step after build:
- run: name: Run tests command: | cd build ctest --output-on-failure - Consider adding a matrix of test configurations (Release/Debug).
- Add test result upload for CI visibility.
- Consider adding a separate "test" workflow that depends on "build".
Verification Criteria
- CI pipeline compiles the project and then runs
ctest. - Test results are visible in the CI job output.
- A test failure causes the CI job to fail (non-zero exit code).
Files to Modify
| File | Action |
|---|---|
CI config (.github/workflows/ or similar) |
Create CI pipeline with test execution |
Dependencies
This plan requires the test infrastructure from Add Unit Tests to be completed first.