fix: parse indented rule/timestamp lines in group/pipe job blocks #209
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: Static Analysis, Unit Tests, and Documentation | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| tags: | |
| - "!**" | |
| workflow_call: | |
| env: | |
| UV_VERSION: 0.8.22 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| PYTHON_VERSION: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "${{ env.UV_VERSION }}" | |
| python-version: "${{ matrix.PYTHON_VERSION }}" | |
| enable-cache: true | |
| cache-suffix: "${{ matrix.PYTHON_VERSION }}" | |
| - name: Install dependencies | |
| run: | | |
| uv sync --group dev --group docs | |
| - name: Test the library | |
| run: | | |
| uv run poe check-all | |
| - name: Run docs | |
| run: | | |
| set -euo pipefail | |
| uv run poe build-docs | |
| - name: Upload code coverage | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| slug: nh13/snakesee |