Skip to content

Commit

Permalink
Update docs workflow to use tox-uv
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Aug 2, 2024
1 parent 2574319 commit 13c7980
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Docs

env:
# Current supported Python version. For applications, there is generally no
# reason to support multiple Python versions, so all actions are run with
# this version. Quote the version to avoid interpretation as a floating
# point number.
PYTHON_VERSION: "3.12"

"on":
push:
branches:
Expand All @@ -23,16 +30,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: ${{ env.PYTHON_VERSION }}

- name: Install graphviz and ImageMagick
run: sudo apt-get install graphviz imagemagick

- name: Run tox
uses: lsst-sqre/run-tox@v1
with:
python-version: "3.12"
python-version: ${{ env.PYTHON_VERSION }}
tox-envs: "docs"
tox-requirements: requirements/tox.txt

- name: Upload documentation
uses: lsst-sqre/ltd-upload@v1
Expand Down

0 comments on commit 13c7980

Please sign in to comment.