Skip to content

species_mass problematic #46

species_mass problematic

species_mass problematic #46

Workflow file for this run

name: test
on: push
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Fortran
uses: awvwgk/setup-fortran@main
id: setup-fortran
with:
compiler: gcc
version: 13
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y valgrind
- name: configure cmake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: test
working-directory: ${{github.workspace}}/build
run: |
valgrind --error-exitcode=1 --leak-check=full ./test/test_equilibrate
- name: build python
run: python -m pip install . -v
- name: test python
working-directory: ${{github.workspace}}/test
run: python test_equilibrate.py