docs: Resync documentation with implementation #11637
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: Random Versions | |
| on: | |
| pull_request: | |
| paths: | |
| - "**.py" | |
| - .github/workflows/random_ci_pytest.yml | |
| - pyproject.toml | |
| - uv.lock | |
| env: | |
| PY_COLORS: 1 | |
| PYTEST_ADDOPTS: "--numprocesses=logical" | |
| UV_LOCKED: 1 | |
| UV_NO_DEV: 1 | |
| permissions: | |
| contents: read | |
| jobs: | |
| tox: | |
| strategy: | |
| matrix: | |
| python-version: ["3.10"] | |
| os: [ubuntu-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| enable-cache: "true" | |
| cache-suffix: pytest-random-ci-${{ matrix.python-version }} | |
| cache-dependency-glob: "pyproject.toml" | |
| - name: Generate random versions | |
| run: uv run --no-project python utils/generate_random_versions.py | |
| - name: Show dependencies | |
| run: uv pip compile random-requirements.txt --group tests --group plugins | |
| - name: Run pytest with random versions | |
| run: | | |
| uv run --group tests --group plugins --with-requirements random-requirements.txt \ | |
| pytest tests --cov=src --cov=tests --cov-fail-under=75 \ | |
| --constructors="pandas,pyarrow,polars[eager],polars[lazy]" |