Skip to content

Commit

Permalink
test: Temporarily disable tox -e doc for Python > 3.7
Browse files Browse the repository at this point in the history
It's needed to fix CI until breathe-doc/breathe#943 is done.
  • Loading branch information
iequidoo committed Aug 21, 2023
1 parent 0c02fce commit fac5bd6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion scripts/run-python-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,12 @@ export PYTHONDONTWRITEBYTECODE=1
# run python tests (tox invokes pytest to run tests in python/tests)
#TOX_PARALLEL_NO_SPINNER=1 tox -e lint,doc
tox -e lint
tox -e doc

# Temporarily disable for Python > 3.7 until https://github.com/breathe-doc/breathe/issues/943 is
# done.
PYTHON3_VERSION=$(python3 --version | grep -Eo "^Python 3\\.[0-9]+" | cut -d. -f2)
if (( $PYTHON3_VERSION <= 7 )); then
tox -e doc
fi

tox -e py -- "$@"

0 comments on commit fac5bd6

Please sign in to comment.