Collapse some redundant definitions in the Ubuntu-based workflow.
@@ -6,6 +6,9 @@ name: Run netCDF Tests
on: [pull_request]
+env:
+ HDF5_VERSIONS: [ 1.8.21, 1.10.1, 1.10.7, 1.12.1 ]
+
jobs:
build-deps:
@@ -14,7 +17,7 @@ jobs:
strategy:
matrix:
- hdf5: [ 1.8.21, 1.10.1, 1.10.7, 1.12.1 ]
+ hdf5: [ ${{env.HDF5_VERSIONS}} ]
steps:
@@ -62,7 +65,7 @@ jobs:
strategy:
matrix:
- hdf5: [ 1.8.21, 1.10.1, 1.10.7, 1.12.1 ]
+ hdf5: [ ${{env.HDF5_VERSIONS}} ]
use_nc4: [ nc3, nc4 ]
use_dap: [ dap_off, dap_on ]
use_nczarr: [ nczarr_off, nczarr_on ]
@@ -169,7 +172,7 @@ jobs:
strategy:
matrix:
- hdf5: [ 1.8.21, 1.10.1, 1.10.7, 1.12.1 ]
+ hdf5: [ ${{env.HDF5_VERSIONS}} ]
use_nc4: [ nc3, nc4 ]
use_dap: [ dap_off, dap_on ]
use_nczarr: [ nczarr_off, nczarr_on ]
