fix(refine-skill): stop on pass-1 items=[]; preserve debug logs on error #4
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| unit-host: | |
| name: unit (host wrapper) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node: [20, 22] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - run: npm test | |
| unit-bash: | |
| name: unit (refine.sh + lib) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo apt-get update && sudo apt-get install -y bats jq rsync | |
| - working-directory: docker | |
| run: | | |
| bats test/decide-stop.bats | |
| bats test/shadow.bats | |
| bats test/log-writer.bats | |
| integration: | |
| name: integration (stubbed pi) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: sudo apt-get update && sudo apt-get install -y bats jq rsync | |
| - working-directory: docker | |
| run: bats test/integration.bats | |
| image-build: | |
| name: image build (smoke) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build (no push) | |
| working-directory: docker | |
| run: docker build -t refine-skill:ci . |