Skip to content

Provide an L2 norm of the errors in a version of the print_test_data … #1441

Provide an L2 norm of the errors in a version of the print_test_data …

Provide an L2 norm of the errors in a version of the print_test_data … #1441

Workflow file for this run

# Based on example from https://github.com/julia-actions/julia-runtest
name: Check examples
on: [push, pull_request]
jobs:
examples:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
fail-fast: false
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: mpi4py/setup-mpi@v1
with:
mpi: 'openmpi'
- uses: julia-actions/setup-julia@v1
with:
version: '1.7.2'
arch: x64
- uses: julia-actions/julia-buildpkg@v1
- name: Test examples
run: |
julia --project -e 'ENV["JULIA_MPI_BINARY"]="system"; using Pkg; Pkg.build("MPI"; verbose=true)'
julia --project -O3 -e 'using moment_kinetics; for (root, dirs, files) in walkdir("examples") for file in files if endswith(file, ".toml") println(joinpath(root, file)); run_moment_kinetics(joinpath(root, file)) end end end'