(improvement) (python code path only): cache namedtuple class in named_tuple_factory to avoid … (3.x to 100x improvement when cache is used - us improvements!) #478
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: "Docs / Build PR" | |
| # For more information, | |
| # see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - "docs/**" | |
| - ".github/workflows/docs-pr.yml" | |
| - "cassandra/**" | |
| - "pyproject.toml" | |
| - "setup.py" | |
| - "CHANGELOG.rst" | |
| pull_request: | |
| paths: | |
| - "docs/**" | |
| - ".github/workflows/docs-pr.yml" | |
| - "cassandra/**" | |
| - "pyproject.toml" | |
| - "setup.py" | |
| - "CHANGELOG.rst" | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| working-directory: docs | |
| enable-cache: true | |
| - name: Build docs | |
| run: make -C docs test |