First attempt to implement the collision operator using a finite elem… #1438
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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' |