Skip to content

Commit

Permalink
CI: avoid windows error by relying on available pip; print out instal…
Browse files Browse the repository at this point in the history
…led versions to help future debugging
  • Loading branch information
bsipocz committed Oct 30, 2024
1 parent 41beabd commit b1ab49f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ jobs:
- name: Install myst-nb with Sphinx ${{ matrix.sphinx }}
shell: bash
run: |
pip install --upgrade pip
# Temporary: for python 3.13 we need the nightly pyarrow wheels
if [[ ${{ matrix.python-version }} == '3.13' ]] ; then
PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple pip install --pre pyarrow
fi
pip install --upgrade "Sphinx${{ matrix.sphinx }}" "myst-parser${{ matrix.myst-parser }}" -e .[testing]
pip freeze
- name: Run pytest
run: pytest --durations=10
Expand All @@ -84,8 +84,8 @@ jobs:
cache: pip
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[testing]
pip freeze
- name: Run pytest
run: pytest --durations=10 --cov=myst_nb --cov-report=xml --cov-report=term-missing
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ allowlist_externals =
echo
rm
commands =
pip freeze
clean: rm -rf docs/_build
sphinx-build {posargs} -nW --keep-going -b {env:BUILDER} docs/ docs/_build/{env:BUILDER}
commands_post = echo "open file://{toxinidir}/docs/_build/{env:BUILDER}/index.html"
Expand Down

0 comments on commit b1ab49f

Please sign in to comment.