Skip to content

Merge pull request #450 from mabarnes/ci-update-julia-actions-cache #1848

Merge pull request #450 from mabarnes/ci-update-julia-actions-cache

Merge pull request #450 from mabarnes/ci-update-julia-actions-cache #1848

Workflow file for this run

# Based on example from https://github.com/julia-actions/julia-runtest
name: Check test_scripts
on: [push, pull_request, workflow_dispatch]
permissions:
actions: write
contents: read
jobs:
check-test-scripts:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest]
fail-fast: false
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1.11'
- uses: julia-actions/cache@v3
- name: Test test_scripts
run: |
touch Project.toml
julia -O3 --project --check-bounds=yes -e 'import Pkg; Pkg.develop(path="moment_kinetics/"); Pkg.develop(path="makie_post_processing/makie_post_processing"); Pkg.add(["FastGaussQuadrature", "Glob", "LaTeXStrings", "LegendrePolynomials", "Measures", "MPI", "Plots", "SpecialFunctions"]); Pkg.precompile()'
julia -O3 --project --check-bounds=yes test_scripts/runtests.jl