refactor: declarative convergence rewrite for Worker Reconciler with integration tests #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: HiClaw Controller Tests | |
| on: | |
| pull_request: | |
| paths: | |
| - 'hiclaw-controller/**' | |
| - '.github/workflows/test-controller.yml' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'hiclaw-controller/**' | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: hiclaw-controller/go.mod | |
| cache-dependency-path: hiclaw-controller/go.sum | |
| - name: Unit tests | |
| working-directory: hiclaw-controller | |
| run: make test-unit | |
| - name: Integration tests (envtest) | |
| working-directory: hiclaw-controller | |
| run: make test-integration |