From 46cdfb8a9c0fe6d372a3990e3273da57163934df Mon Sep 17 00:00:00 2001 From: Dan Snow Date: Thu, 7 Nov 2024 19:23:31 +0000 Subject: [PATCH] Fix GHA errors --- .github/workflows/pages.yaml | 8 ++++---- .github/workflows/python-package.yaml | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 72e6125..f375463 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -28,17 +28,17 @@ jobs: cache-dependency-glob: pyproject.toml cache-suffix: docs - - name: Install Python dependencies - run: uv pip install .[docs] - - name: Setup Python uses: actions/setup-python@v5 with: python-version-file: pyproject.toml + - name: Install Python dependencies + run: uv pip install .[docs] + - name: Generate HTML run: | - sphinx-build -d _build/doctrees docs/source _build/html + uv run sphinx-build -d _build/doctrees docs/source _build/html - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/python-package.yaml b/.github/workflows/python-package.yaml index 8945970..15b4c9f 100644 --- a/.github/workflows/python-package.yaml +++ b/.github/workflows/python-package.yaml @@ -38,6 +38,7 @@ jobs: run: | uv tool install tox --with tox-uv tox --version + uv pip install .[test] - name: Test install with tox run: tox r -v --notest