Skip to content

Commit 2d00f8c

Browse files
authored
fix: use yum instead for bzip2
1 parent 8909c8c commit 2d00f8c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,17 @@ jobs:
4141
shell: bash -l {0}
4242
run: |
4343
conda list
44-
mamba install numpy=${{ matrix.npver }} nose cython wget make pytest flake8 bzip2
44+
mamba install numpy=${{ matrix.npver }} nose cython wget make pytest flake8
4545
if [ "${{ matrix.pyver }}" == "3.8" ] || [ "${{ matrix.pyver }}" == "3.9" ] || [ "${{ matrix.pyver }}" == "3.10" ]; then
4646
mamba install importlib_resources
4747
fi
4848
49+
- name: install bzip2 on linux
50+
shell: bash -l {0}
51+
if: matrix.os == 'ubuntu-latest'
52+
run: |
53+
sudo yum install bzip2-devel
54+
4955
- name: build external cfitsio
5056
shell: bash -l {0}
5157
run: |

0 commit comments

Comments
 (0)