Clarify circuit breaker budget wording in crystallize command #285
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: Test Spellbook | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| node-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Install test dependencies | |
| run: | | |
| cd tests/unit | |
| npm install | |
| - name: Run unit tests | |
| run: | | |
| cd tests/unit | |
| npm test | |
| shell-integration-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Run integration tests | |
| run: | | |
| chmod +x tests/claude-code/*.sh | |
| tests/claude-code/run-all-tests.sh | |
| python-tests: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| fail-fast: false | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies | |
| run: uv sync --all-extras | |
| - name: Run Python tests | |
| if: runner.os != 'Windows' | |
| run: uv run pytest tests/ -v --tb=short | |
| - name: Run Python tests (Windows) | |
| if: runner.os == 'Windows' | |
| run: uv run pytest tests/ -v --tb=short --ignore=tests/docker -m "not integration" | |
| - name: Verify installer | |
| run: uv run python install.py --dry-run |