-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (36 loc) · 1.12 KB
/
benchmark.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: benchmark
on: [push,workflow_dispatch]
permissions:
# deployments permission to deploy GitHub pages website
deployments: write
# contents permission to update benchmark contents in gh-pages branch
contents: write
jobs:
benchmark:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- name: install chezmoi
run: sh -c "$(curl -fsLS get.chezmoi.io)"
- run: chezmoi apply $HOME/.{zshrc,zshrc.lazy,zshenv,zprofile}
- run: |
cat $HOME/.zshrc
cat $HOME/.zshrc.lazy
cat $HOME/.zshenv
cat $HOME/.zprofile
# - name: Run benchmark
# run: ./scripts/benchmark.sh > result.json
# - name: Dump result.json
# run: cat result.json
# - name: Upload benchmark
# uses: benchmark-action/github-action-benchmark@v1
# with:
# tool: customSmallerIsBetter
# output-file-path: result.json
# github-token: ${{ secrets.GITHUB_TOKEN }}
# auto-push: true
# comment-on-alert: true
# fail-on-alert: true
# alert-threshold: '150%'
# alert-comment-cc-users: '@odanado'