Skip to content

Commit db36410

Browse files
committed
Install IPython on the Python 3.9/NumPy 1.20 test build only
1 parent 79f329b commit db36410

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci_tests.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ jobs:
4545
# python-version: 3.7
4646
# isDraft: true
4747
# Pair Python 3.7 with NumPy 1.17 and Python 3.9 with NumPy 1.20
48+
# Only install optional packages on Python 3.9/NumPy 1.20
4849
include:
4950
- python-version: 3.7
5051
numpy-version: '1.17'
52+
optional-packages: ''
5153
- python-version: 3.9
5254
numpy-version: '1.20'
55+
optional-packages: 'ipython'
5356
defaults:
5457
run:
5558
shell: bash -l {0}
@@ -89,7 +92,8 @@ jobs:
8992
conda install -c conda-forge/label/dev gmt=6.2.0rc1
9093
conda install numpy=${{ matrix.numpy-version }} \
9194
pandas xarray netCDF4 packaging \
92-
codecov coverage[toml] dvc ipython make \
95+
${{ matrix.optional-packages }} \
96+
codecov coverage[toml] dvc make \
9397
pytest-cov pytest-mpl pytest>=6.0 \
9498
sphinx-gallery
9599

0 commit comments

Comments
 (0)