Skip to content

Initial unit testing infrastructure. #1

Initial unit testing infrastructure.

Initial unit testing infrastructure. #1

Workflow file for this run

name: unit-test
on:
push:
branch: unit-testing
workflow_dispatch:
pull_request

Check failure on line 7 in .github/workflows/unit-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/unit-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 7
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
gcc:
runs-on: ubuntu-latest
steps:
- name: Build pFUnit
- run: |
git clone --depth 1 --branch v4.10.0 https://github.com/Goddard-Fortran-Ecosystem/pFUnit.git
cd pFUnit
cmake -B./build -S.
cd build
cmake install
- name: Checkout history
- uses: actions/checkout@v4
- name: Build
- run: |
cmake -DCMAKE_PREFIX_PATH=/pFUnit/build/installed -B./build -S.
cd build
make
ctest -V --output-junit res.xml