## What Add a test job that runs health-check.sh directly on the runner and uploads the output as a downloadable artifact. ## Tasks - [x] Add job `test` to `ci.yml` with `needs: lint` - [x] Run `bash scripts/health-check.sh` on the runner - [x] Capture output to a timestamped file: `health-report-$(date +%Y%m%d-%H%M%S).txt` - [x] Upload file using `actions/upload-artifact@v4` with `retention-days: 7` - [x] Set upload step to only run on `if: success()` ## Acceptance Criteria - [x] Test job only starts after lint passes - [x] Artifact named `health-report` appears in the workflow run summary and is downloadable - [x] Forcing the script to exit 1 fails the job and skips the upload step ## Commit `ci: add smoke-test job with artifact upload`
What
Add a test job that runs health-check.sh directly on the runner and uploads the output as a downloadable artifact.
Tasks
testtoci.ymlwithneeds: lintbash scripts/health-check.shon the runnerhealth-report-$(date +%Y%m%d-%H%M%S).txtactions/upload-artifact@v4withretention-days: 7if: success()Acceptance Criteria
health-reportappears in the workflow run summary and is downloadableCommit
ci: add smoke-test job with artifact upload