Skip to content

Update unit tests for surface and volume #68

Update unit tests for surface and volume

Update unit tests for surface and volume #68

Workflow file for this run

name: codecov
on: [push]
jobs:
Build:
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
toolchain:
- {compiler: gcc}
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Fortran Package Manager (fpm)
uses: fortran-lang/setup-fpm@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Fortran Compiler
uses: fortran-lang/setup-fortran@main
id: setup-fortran
with:
compiler: ${{ matrix.toolchain.compiler }}
version: ${{ matrix.toolchain.version }}
- name: Run Tests
run: |
fpm test --profile debug --compiler ${{ env.FC}} --flag "--coverage -g -O0"
env:
FC: ${{ steps.setup-fortran.outputs.fc }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.3.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
exclude: "build/dependencies"