Skip to content

Bug fix for unit conversion error in ccpp_prebuild.py (variables that are slices of a n+1 dimensional array have wrong allocation) #210

Bug fix for unit conversion error in ccpp_prebuild.py (variables that are slices of a n+1 dimensional array have wrong allocation)

Bug fix for unit conversion error in ccpp_prebuild.py (variables that are slices of a n+1 dimensional array have wrong allocation) #210

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