Skip to content

Commit d2ae0c3

Browse files
committed
Make matrix variable more meanigful
1 parent 10ab3ac commit d2ae0c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
# Define the matrix for whether to install CUDA or not
16-
install_cuda: [true, false]
16+
cuda: [with_cuda, without_cuda]
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Set up Python
@@ -31,8 +31,8 @@ jobs:
3131
sudo apt-get install -y cmake build-essential libhdf5-dev libgsl-dev libfftw3-dev swig libnfft3-dev libtiff-dev libpng-dev
3232
pip install pytest setuptools
3333
34-
- name: Install NVIDIA CUDA Toolkit (if matrix.install_cuda is true)
35-
if: matrix.install_cuda == true
34+
- name: Install NVIDIA CUDA Toolkit (if required)
35+
if: matrix.cuda == 'with_cuda'
3636
run: |
3737
sudo apt-get install -y nvidia-cuda-toolkit
3838

0 commit comments

Comments
 (0)