chore: gitignore personal launch-prep notes #8
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| python-version: ["3.9", "3.11", "3.13"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dev dependencies | |
| run: python -m pip install ruff pytest pytest-cov | |
| - name: Lint | |
| run: ruff check claude_config_dashboard/ tests/ dashboard.py | |
| - name: Format check | |
| run: ruff format --check claude_config_dashboard/ tests/ dashboard.py | |
| - name: Tests with coverage | |
| run: pytest --cov --cov-fail-under=80 | |
| version-sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check version fields match | |
| run: | | |
| pkg=$(python3 -c "import json; print(json.load(open('package.json'))['version'])") | |
| plugin=$(python3 -c "import json; print(json.load(open('.claude-plugin/plugin.json'))['version'])") | |
| market=$(python3 -c "import json; print(json.load(open('.claude-plugin/marketplace.json'))['metadata']['version'])") | |
| init=$(python3 -c "import claude_config_dashboard as m; print(m.__version__)") | |
| echo "package.json=$pkg plugin.json=$plugin marketplace.json=$market __init__.py=$init" | |
| test "$pkg" = "$plugin" -a "$pkg" = "$market" -a "$pkg" = "$init" |