fix(panel): correct cluster mode detection and error surfacing (#114) #633
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: Tests | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.14' | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt pytest | |
| - name: Validate config loading | |
| env: | |
| SECRET_KEY: test-secret-key-for-ci-validation-only-32chars | |
| PASSWORD: test-password-for-ci-only | |
| LRTMP2_API_TOKEN: test-api-token-for-ci-only | |
| run: python -c "from config import Config; print('Config OK')" | |
| - name: Run tests | |
| env: | |
| SECRET_KEY: test-secret-key-for-ci-validation-only-32chars | |
| PASSWORD: test-password-for-ci-only | |
| LRTMP2_API_TOKEN: test-api-token-for-ci-only | |
| run: python -m pytest -q --tb=short -m "not integration" | |
| - name: Validate frontend JavaScript | |
| run: node --check static/js/scripts.js |