Update */Manifest.toml #942
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
name: Run benchmarks | |
on: | |
pull_request: | |
jobs: | |
Benchmark: | |
runs-on: ubuntu-latest | |
env: | |
JULIA_DEBUG: BenchmarkCI | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: julia-actions/setup-julia@latest | |
with: | |
version: 1.4 | |
# Cache ~/.julia/artifacts (https://discourse.julialang.org/t/35484) | |
- uses: actions/cache@v1 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- name: Install dependencies | |
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"' | |
- name: Run benchmarks | |
run: julia -e "using BenchmarkCI; BenchmarkCI.judge()" | |
- name: Push results | |
run: julia -e ' | |
using BenchmarkCI; | |
BenchmarkCI.pushresult(; | |
url = "git@github.com:JuliaFolds/BangBang-data.git", | |
); | |
' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SSH_KEY: ${{ secrets.DATA_SSH_KEY }} |