crawler: adapt Lidl crawler to their new manual upload process #188
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: Build | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.13"] | |
| os: [ubuntu-24.04, macos-latest, windows-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| if: ${{ matrix.os == 'ubuntu-24.04' || matrix.os == 'macos-latest' }} | |
| run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Set up uv | |
| if: ${{ matrix.os == 'windows-latest' }} | |
| run: irm https://astral.sh/uv/install.ps1 | iex | |
| shell: powershell | |
| - name: Install dependencies | |
| run: uv sync --dev | |
| - name: Lint with ruff | |
| run: uv run ruff check --output-format github | |
| - name: Check code style with ruff | |
| run: uv run ruff format --check --diff | |
| - name: Check type hints with ty | |
| run: uv run ty check | |
| - name: Run tests with pytest | |
| run: uv run pytest |