Add Wiktionary dump download and translation extraction capabilities #1805
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: pr_ci | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "pyproject.toml" | |
| - "uv.lock" | |
| jobs: | |
| format_check: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| python-version: | |
| - "3.12" | |
| runs-on: ${{ matrix.os }} | |
| name: Run PR Check | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Sync environment and install dependencies | |
| run: uv sync --frozen --all-extras | |
| - name: Run Ruff Format - Formatting Check | |
| run: uv run ruff format ./src | |
| - name: Run Ruff - Linting and Import Sorting Check | |
| if: always() | |
| run: uv run ruff check ./src | |
| # - name: Run mypy - Static Type Checking | |
| # if: always() | |
| # run: uv run mypy ./src --config-file ./pyproject.toml |