Skip to content

Adding Nektar++ driftwave 2D Hasegawa-Wakatani example model #260

Adding Nektar++ driftwave 2D Hasegawa-Wakatani example model

Adding Nektar++ driftwave 2D Hasegawa-Wakatani example model #260

Workflow file for this run

name: Run benchmarks
on:
pull_request:
workflow_dispatch:
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: '1.8'
- uses: julia-actions/cache@v1
with:
cache-name: "benchmarks"
- name: Install dependencies
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.instantiate()
pkg"add PkgBenchmark [email protected]"
- name: Run benchmarks
shell: julia --color=yes {0}
run: |
using PkgBenchmark, BenchmarkCI
BenchmarkCI.judge(
PkgBenchmark.BenchmarkConfig(
env = Dict(
"JULIA_NUM_THREADS" => "2",
),
),
)
- name: Print judgement
shell: julia --color=yes {0}
run: |
using BenchmarkCI
BenchmarkCI.displayjudgement()
- name: Push results
shell: julia --color=yes {0}
run: |
using BenchmarkCI
BenchmarkCI.pushresult(;
url = "[email protected]:Team-RADDISH/ParticleDA.jl.git",
)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SSH_KEY: ${{ secrets.DOCUMENTER_KEY }}