Skip to content

Commit e127e36

Browse files
maresbricardoV94
authored andcommitted
Install pytest-sphinx from conda-forge
1 parent ece2b3b commit e127e36

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,14 @@ jobs:
203203
run: |
204204
205205
if [[ $OS == "macos-15" ]]; then
206-
micromamba install --yes -q "python~=${PYTHON_VERSION}" "numpy${NUMPY_VERSION}" scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
206+
micromamba install --yes -q "python~=${PYTHON_VERSION}" "numpy${NUMPY_VERSION}" scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock pytest-sphinx libblas=*=*accelerate;
207207
else
208-
micromamba install --yes -q "python~=${PYTHON_VERSION}" mkl "numpy${NUMPY_VERSION}" scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
208+
micromamba install --yes -q "python~=${PYTHON_VERSION}" mkl "numpy${NUMPY_VERSION}" scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock pytest-sphinx;
209209
fi
210210
if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" "numba>=0.57"; fi
211211
if [[ $INSTALL_JAX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" jax jaxlib numpyro && pip install tfp-nightly; fi
212212
if [[ $INSTALL_TORCH == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" pytorch pytorch-cuda=12.1 "mkl<=2024.0" -c pytorch -c nvidia; fi
213213
if [[ $INSTALL_XARRAY == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}" xarray xarray-einstats; fi
214-
pip install pytest-sphinx
215214
216215
pip install -e ./
217216
micromamba list && pip freeze

environment-osx-arm64.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ dependencies:
3131
- pytest-xdist
3232
- pytest-benchmark
3333
- pytest-mock
34-
- pip:
35-
- pytest-sphinx
34+
- pytest-sphinx
3635
# For building docs
3736
- sphinx>=5.1.0,<6
3837
- sphinx_rtd_theme

environment.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ dependencies:
3333
- pytest-xdist
3434
- pytest-benchmark
3535
- pytest-mock
36-
- pip:
37-
- pytest-sphinx
36+
- pytest-sphinx
3837
# For building docs
3938
- sphinx>=5.1.0,<6
4039
- sphinx_rtd_theme

0 commit comments

Comments
 (0)