chore(deps): bump idna from 3.11 to 3.15 #229
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: Test | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - ".github/workflows/test.yml" | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - "**/*.py" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| - ".github/workflows/test.yml" | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install Dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| uv run playwright install chromium | |
| - name: Run Unit Tests | |
| run: | | |
| uv run pytest tests/ -m "not network" --timeout=30 -v | |
| scraper-tests: | |
| runs-on: ubuntu-latest | |
| needs: unit-tests | |
| strategy: | |
| matrix: | |
| python-version: ['3.11'] # Only test scrapers on one Python version | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: "uv.lock" | |
| - name: Set up Python ${{ matrix.python-version }} | |
| run: uv python install ${{ matrix.python-version }} | |
| - name: Install Dependencies | |
| run: | | |
| uv sync --all-extras --dev | |
| uv run playwright install chromium | |
| - name: Test Real Scrapers (Minimal Data) | |
| run: | | |
| uv run pytest tests/test_scrapers_minimal.py -v --timeout=180 | |
| continue-on-error: true # Don't fail the entire CI if some scrapers are temporarily down |