Skip to content

add CI test gate - #16

Merged
mtmtian merged 1 commit into
mainfrom
agent/add-ci-gate
Aug 19, 2026
Merged

add CI test gate#16
mtmtian merged 1 commit into
mainfrom
agent/add-ci-gate

Conversation

@mtmtian

@mtmtian mtmtian commented Aug 19, 2026

Copy link
Copy Markdown
Owner

What changed

Add a minimal, credential-free GitHub Actions gate for pull requests, main pushes, and manual runs.

The workflow:

  • verifies no files under profiles/ are tracked
  • checks all deployment shell scripts with bash -n
  • runs the complete Python unittest suite
  • checks out without persisting GitHub credentials and pins official actions to v6 commits

Why

The deployment repository previously had no GitHub checks. The gate makes the documented local validation reproducible without accessing node profiles, generated client configs, provider credentials, or remote hosts.

Validation

  • YAML parsed successfully
  • profile tracking assertion passed
  • shell syntax passed
  • python3 -m unittest discover -s tests -p 'test_*.py' -v — 32 tests passed, 1 optional Mihomo test skipped
  • git diff --check

@mtmtian
mtmtian merged commit df8fedc into main Aug 19, 2026
1 check passed
@mtmtian
mtmtian deleted the agent/add-ci-gate branch August 19, 2026 21:21
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.

1 participant