Skip to content

#2 Title: ci: add smoke-test job with artifact upload #81

Description

@puneeth-grinds

What

Add a test job that runs health-check.sh directly on the runner and uploads the output as a downloadable artifact.

Tasks

  • Add job test to ci.yml with needs: lint
  • Run bash scripts/health-check.sh on the runner
  • Capture output to a timestamped file: health-report-$(date +%Y%m%d-%H%M%S).txt
  • Upload file using actions/upload-artifact@v4 with retention-days: 7
  • Set upload step to only run on if: success()

Acceptance Criteria

  • Test job only starts after lint passes
  • Artifact named health-report appears in the workflow run summary and is downloadable
  • Forcing the script to exit 1 fails the job and skips the upload step

Commit

ci: add smoke-test job with artifact upload

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions