-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.01 KB
/
Copy pathplot.yml
File metadata and controls
42 lines (34 loc) · 1.01 KB
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
name: Benchmark CI
on:
push:
branches:
- master
workflow_dispatch:
permissions:
contents: write # required for pushing commits
jobs:
generate-timing-plots:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip' # caching pip dependencies
- run: pip install -r requirements.txt
- name: Run plot generation script
run: |
python3 generate_plot.py
- name: Generate scribble docs
run: |
rm -rf summary
raco scribble --htmls summary.scribl
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Update timing plots [skip ci]" || echo "No changes to commit"
git push