Skip to content

Commit

Permalink
FIX: support dependency groups in GitHub ACtions
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 28, 2024
1 parent 491e1e8 commit c3b354d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Build documentation without running notebooks
run: >-
uv run \
--extra doc \
--group doc \
--no-dev \
--with tox \
tox -e doc
- uses: actions/upload-artifact@v4
Expand All @@ -53,7 +54,8 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y inkscape latexmk make texlive-fonts-extra texlive-xetex xindy
uv run \
--extra doc \
--group doc \
--no-dev \
--with tox \
tox -e pdf
- uses: actions/upload-artifact@v4
Expand All @@ -77,7 +79,8 @@ jobs:
- name: Check external links with Sphinx linkcheck
run: >-
uv run \
--extra doc \
--group doc \
--no-dev \
--with tox \
tox -e linkcheck
Expand Down Expand Up @@ -138,8 +141,9 @@ jobs:
run: >-
pixi run \
uv run \
--extra doc \
--extra notebooks \
--group doc \
--group notebooks \
--no-dev \
--with tox \
tox -e pdfnb
- uses: actions/upload-artifact@v4
Expand All @@ -153,8 +157,9 @@ jobs:
run: >-
pixi run \
uv run \
--extra doc \
--extra notebooks \
--group doc \
--group notebooks \
--no-dev \
--with tox \
tox -e docnb
- uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
with:
specific-pip-packages: ${{ inputs.specific-pip-packages }}
pytest:
uses: ComPWA/actions/.github/workflows/pytest.yml@v1
uses: ComPWA/actions/.github/workflows/pytest.yml@v2.1
with:
additional-extras: all
specific-pip-packages: ${{ inputs.specific-pip-packages }}
style:
if: inputs.specific-pip-packages == ''
secrets:
token: ${{ secrets.PAT }}
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2.1

0 comments on commit c3b354d

Please sign in to comment.