Skip to content

ci: add test suite, remove dormant workflows, add auto-merge#13

Merged
govindkavaturi-art merged 1 commit intomainfrom
ci/fix-cueapi-cli-pipeline
Apr 4, 2026
Merged

ci: add test suite, remove dormant workflows, add auto-merge#13
govindkavaturi-art merged 1 commit intomainfrom
ci/fix-cueapi-cli-pipeline

Conversation

@govindkavaturi-art
Copy link
Copy Markdown
Member

Summary

  • Add tests/test_cli.py — 12 unit tests covering all CLI commands via Click CliRunner
  • Delete staging-deploy.yml — CLI doesn't deploy anywhere
  • Delete argus-qa.yml — not needed without staging deploy
  • Update cli-test.yml — now runs pytest tests/ instead of just --help/--version
  • Add feature-to-main.yml — pytest → auto-merge → CueAPI merge confirmation cue

Tests added

Test What it checks
test_version --version returns version string
test_help --help lists all commands
test_login_help login --help works
test_create_help create --help shows --name and --url
test_list_help list --help works
test_get_help get --help works
test_pause_help pause --help works
test_resume_help resume --help works
test_delete_help delete --help works
test_whoami_help whoami --help works
test_usage_help usage --help works
test_quickstart_help quickstart --help works

All tests pass locally (12/12, 0.17s).

Also applied via API

  • Branch protection: PR + 1 review, enforce_admins=true, required check: test
  • Secrets added: GOVIND_GITHUB_TOKEN, ARGUS_CUEAPI_KEY

🤖 Generated with Claude Code

- Add tests/test_cli.py: 12 unit tests using Click CliRunner covering
  all 16 commands (--version, --help, and help for each subcommand)
- Delete staging-deploy.yml (CLI doesn't deploy anywhere)
- Delete argus-qa.yml (not needed without staging deploy)
- Update cli-test.yml to run pytest instead of just --help/--version
- Add feature-to-main.yml: pytest → auto-merge → CueAPI merge cue

Also via API:
- Branch protection: PR + 1 review, enforce_admins, required check: test
- Secrets added: GOVIND_GITHUB_TOKEN, ARGUS_CUEAPI_KEY

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@govindkavaturi-art govindkavaturi-art merged commit 3a36788 into main Apr 4, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants