Skip to content

Trying to re-integrate docker github action runner. #3

Trying to re-integrate docker github action runner.

Trying to re-integrate docker github action runner. #3

###
# Use the docker container to run tests in a parameterized way.
###
name: Run Docker-based regression tests
on:
pull_request:
concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
container-test-job:
runs-on: ubuntu-latest
strategy:
matrix:
hdf5: [ 1.12.2, 1.14.6 ]
netcdf: [ v4.9.3 ]
ctype: [ serial, mpich ]
steps:
- uses: actions/checkout@v4
- name: Fetch Container ${{ matrix.ctype }}
shell: bash -l {0}
run: docker run --rm -d -e TESTPROC=$(nproc) -v $(pwd):/netcdf-fortran -e CBRANCH=${{ matrix.netcdf }} -e H5VER=${{ matrix.hdf5 }} -e RUNC=OFF docker.unidata.ucar.edu/nctests:${{ matrix.ctype }}