Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/pr-receive.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "Receive Pull Request"

on:
pull_request:
types:
[opened, synchronize, reopened]
# on:
# pull_request:
# types:
# [opened, synchronize, reopened]

concurrency:
group: ${{ github.ref }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on: [push, pull_request]

env:
DEFAULT_BRANCH: "sphinx"
SPHINXBUILD: "uv run sphinx-build"
# If these SPHINXOPTS are enabled, then be strict about the
# builds and fail on any warnings.
#SPHINXOPTS: "-W --keep-going -T"
Expand All @@ -35,20 +36,19 @@ jobs:
fetch-depth: 0
lfs: true

# https://github.com/marketplace/actions/setup-python
# https://github.com/astral-sh/setup-uv
# ^-- This gives info on matrix testing.
- name: Install Python
uses: actions/setup-python@v4
uses: astral-sh/setup-uv@v5
with:
python-version: '3.11'
cache: 'pip'
enable-cache: true

# https://docs.github.com/en/actions/guides/building-and-testing-python#installing-dependencies
# ^-- This gives info on installing dependencies with pip
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
uv pip install -r requirements.txt

# Debug
- name: Debugging information
Expand All @@ -70,8 +70,8 @@ jobs:
git branch -a
git remote -v
python -V
pip list --not-required
pip list
uv pip list
uv pip check


# Build
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Generate PDF
if: ${{ env.GENERATE_PDF == 'true' }}
run: |
pip install https://github.com/rkdarst/sphinx_pyppeteer_builder/archive/refs/heads/main.zip
uv pip install https://github.com/rkdarst/sphinx_pyppeteer_builder/archive/refs/heads/main.zip
make pyppeteer
mv _build/pyppeteer/*.pdf _build/dirhtml/${PDF_FILENAME}

Expand Down
Loading