fix: add missing clippy allows for vendored rcdom module #231
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 Python | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - packages/python/** | |
| - scripts/publish/python/** | |
| - crates/html-to-markdown-py/** | |
| - crates/html-to-markdown/** | |
| - pyproject.toml | |
| - uv.lock | |
| - uv.toml | |
| - .task/** | |
| - Taskfile.yaml | |
| - .github/workflows/ci-python.yaml | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - packages/python/** | |
| - scripts/publish/python/** | |
| - crates/html-to-markdown-py/** | |
| - crates/html-to-markdown/** | |
| - pyproject.toml | |
| - uv.lock | |
| - uv.toml | |
| - .task/** | |
| - Taskfile.yaml | |
| - .github/workflows/ci-python.yaml | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-python-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| python-tests: | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 360 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python: ["3.10", "3.12", "3.14"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Task | |
| uses: go-task/setup-task@v1 | |
| with: | |
| version: 3.46.4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Setup Rust | |
| uses: ./.github/actions/setup-rust | |
| with: | |
| components: rustfmt, clippy, llvm-tools-preview | |
| - name: Install Dependencies | |
| uses: nick-fields/retry@v3 | |
| with: | |
| timeout_minutes: 5 | |
| max_attempts: 3 | |
| retry_wait_seconds: 30 | |
| command: | | |
| if [[ "${{ runner.os }}" == "Windows" ]] && [[ -d ".venv" ]]; then | |
| echo "Removing existing .venv directory on Windows" | |
| rm -rf .venv | |
| fi | |
| uv sync --all-extras --no-install-workspace | |
| shell: bash | |
| - name: Run Python Tests | |
| run: task python:test:ci | |
| shell: bash |