Bug fix for unit conversion error in ccpp_prebuild.py (variables that are slices of a n+1 dimensional array have wrong allocation) #210
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Capgen Unit Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [feature/capgen, main] | |
jobs: | |
unit_tests: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04] | |
fortran-compiler: [gfortran-9, gfortran-10, gfortran-11, gfortran-12] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: update repos and install dependencies | |
run: sudo apt-get update && sudo apt-get install -y build-essential ${{matrix.fortran-compiler}} cmake python3 git | |
- name: Run unit tests | |
run: cd test && ./run_fortran_tests.sh | |