Skip to content

Commit 8e51b33

Browse files
committed
CI: Optional dependencies
1 parent 22f5195 commit 8e51b33

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ jobs:
3535
architecture: x86
3636
env:
3737
SETUP_REQUIRES: 'pip setuptools>=30.3.0 wheel'
38-
DEPENDS: 'numpy scipy matplotlib h5py pillow pydicom indexed_gzip'
38+
DEPENDS: 'numpy scipy matplotlib pillow pydicom'
39+
OPTIONAL_DEPENDS: 'h5py indexed_gzip'
3940
INSTALL_TYPE: ${{ matrix.install }}
4041
CHECK_TYPE: 'test'
4142
EXTRA_PIP_FLAGS: ''

tools/ci/install_dependencies.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ set -x
1414

1515
if [ -n "$DEPENDS" ]; then
1616
pip install $EXTRA_PIP_FLAGS $DEPENDS
17+
pip install $EXTRA_PIP_FLAGS $OPTIONAL_DEPENDS || true
1718
fi
1819

1920
set +eux

0 commit comments

Comments
 (0)