chore(deps): bump python-dotenv from 1.1.0 to 1.2.2 #45
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.12', '3.13'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install ffmpeg | |
| run: sudo apt-get update && sudo apt-get install -y ffmpeg | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e ".[dev]" | |
| - name: Install Playwright | |
| run: playwright install chromium | |
| - name: Verify imports | |
| run: | | |
| python -c "from neurascreen.config import Config" | |
| python -c "from neurascreen.scenario import parse_scenario, validate_scenario" | |
| python -c "from neurascreen.tts import create_tts_client, get_wav_duration_ms" | |
| python -c "from neurascreen.assembler import Assembler" | |
| python -c "from neurascreen.narrator import Narrator" | |
| python -c "from neurascreen.browser import BrowserEngine" | |
| python -c "from neurascreen.recorder import Recorder" | |
| python -c "from neurascreen.cli import cli" | |
| echo "All imports OK" | |
| - name: Verify CLI entry point | |
| run: neurascreen --version | |
| - name: Validate all example scenarios | |
| run: | | |
| for f in $(find examples -name '*.json'); do | |
| echo "Validating $f..." | |
| neurascreen validate "$f" | |
| done | |
| - name: Run unit tests | |
| run: pytest tests/ -v | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Check syntax | |
| run: python -m py_compile neurascreen/*.py |