diff --git a/.github/workflows/run_tests_docker.yml b/.github/workflows/run_tests_docker.yml new file mode 100644 index 00000000..dba86328 --- /dev/null +++ b/.github/workflows/run_tests_docker.yml @@ -0,0 +1,63 @@ +### +# Use the docker container to run tests in a parameterized way. +### + +name: Run Docker-based regression tests + +on: [pull_request,workflow_dispatch] + +concurrency: + group: ${{ github.workflow}}-${{ github.head_ref }} + cancel-in-progress: true + +permissions: {} + +jobs: + netcdf-tests-serial: + name: Docker-Based NetCDF-C, Fortran Regression Testing (Serial) + runs-on: ubuntu-latest + strategy: + matrix: + c-branch: [ 'v4.9.2' ] + c-compiler: [ 'gcc', 'clang' ] + h5ver: [ '1.12.1', '1.14.3' ] + build-system: [ 'both' ] + + steps: + - uses: actions/checkout@v4 + - name: Pull and Run netCDF Regression Tests + uses: WardF/netcdf-test-action@v1 + with: + run-c: 'FALSE' + repo-type: 'fortran' + hdf5-version: '${{ matrix.h5ver }}' + c-compiler: '${{ matrix.c-compiler }}' + c-branch: '${{ matrix.c-branch }}' + run-fortran: 'TRUE' + build-system: '${{ matrix.build-system }}' + + netcdf-tests-parallel: + + needs: netcdf-tests-serial + + name: Docker-Based NetCDF-C, Fortran Regression Testing (parallel) + runs-on: ubuntu-latest + strategy: + matrix: + c-branch: [ 'v4.9.2' ] + c-compiler: [ 'mpicc' ] + h5ver: [ '1.12.1', '1.14.3' ] + build-system: [ 'both' ] + + steps: + - uses: actions/checkout@v4 + - name: Pull and Run netCDF Regression Tests + uses: WardF/netcdf-test-action@v1 + with: + run-c: 'FALSE' + repo-type: 'fortran' + hdf5-version: '${{ matrix.h5ver }}' + c-compiler: '${{ matrix.c-compiler }}' + c-branch: '${{ matrix.c-branch }}' + run-fortran: 'TRUE' + build-system: '${{ matrix.build-system }}' \ No newline at end of file diff --git a/.github/workflows/run_tests_linux.yml b/.github/workflows/run_tests_linux.yml index e56e9e3a..79a00d4a 100644 --- a/.github/workflows/run_tests_linux.yml +++ b/.github/workflows/run_tests_linux.yml @@ -4,7 +4,7 @@ name: Run netCDF-Fortran Linux tests -on: [pull_request, workflow_dispatch] +on: [workflow_dispatch] concurrency: group: ${{ github.workflow}}-${{ github.head_ref }} @@ -19,7 +19,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.8.1, v4.9.2 ] steps: @@ -75,7 +75,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.8.1, v4.9.2 ] steps: @@ -134,7 +134,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.8.1, v4.9.2 ] steps: @@ -231,7 +231,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.8.1, v4.9.2 ] steps: @@ -329,7 +329,7 @@ jobs: strategy: matrix: hdf5: [ 1.12.2 ] - netcdf: [ v4.7.4, v4.8.1, v4.9.0, main ] + netcdf: [ v4.8.1, v4.9.2 ] steps: