Skip to content

Commit

Permalink
fix applehelp?
Browse files Browse the repository at this point in the history
  • Loading branch information
theOehrly committed Jul 31, 2024
1 parent f77d5ad commit ff0a767
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
exclude:
- python-version: "3.8"
sphinx-version: "7.2.*"
- python-version: "3.8"
sphinx-version: "8.0.*"
- python-version: "3.9"
sphinx-version: "8.0.*"

steps:
- uses: actions/checkout@v2
Expand All @@ -61,17 +65,25 @@ jobs:
SPHINX=Sphinx
JINJA2=jinja2
APPLEHELP=sphinxcontrib-applehelp
SPHINXCONTRIB_PINNED="sphinxcontrib-applehelp<1.0.8 "
SPHINXCONTRIB_PINNED+="sphinxcontrib-devhelp<1.0.6 "
SPHINXCONTRIB_PINNED+="sphinxcontrib-htmlhelp<2.0.5 "
SPHINXCONTRIB_PINNED+="sphinxcontrib-jsmath<1.0.1 "
SPHINXCONTRIB_PINNED+="sphinxcontrib-qthelp<1.0.7 "
SPHINXCONTRIB_PINNED+="sphinxcontrib-serializinghtml<1.1.10 "
EXTRAS=""
if [[ $SPHINX_VERSION != "" ]]; then
SPHINX="${SPHINX}==${SPHINX_VERSION}";
JINJA2="${JINJA2}<3.1";
fi
if [[ $SPHINX_VERSION == 3* ]] || [[ $SPHINX_VERSION == 4* ]]; then
APPLEHELP="${APPLEHELP}<2.0";
if [[ $SPHINX_VERSION == 3* || $SPHINX_VERSION == 4* ]]; then
EXTRAS="{$SPHINXCONTRIB_PINNED}";
fi
pip install pytest pytest-cov codecov "${SPHINX}" "${JINJA2}" "${APPLEHELP}" beautifulsoup4 -e .
pip install pytest pytest-cov codecov "${SPHINX}" "${JINJA2}" "${EXTRAS}" beautifulsoup4 -e .
- name: Test with pytest
run: |
pytest --cov=autodocsumm --cov-report=xml tests
Expand Down

0 comments on commit ff0a767

Please sign in to comment.