Add code coverage measurement for unit and integration tests #1193
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 | |
| permissions: | |
| contents: read | |
| 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | |
| with: | |
| working-directory: docs | |
| enable-cache: true | |
| - name: Build docs | |
| run: make -C docs test |