File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : codspeed-benchmarks
2
+
3
+ on :
4
+ # Run on pushes to the main branch
5
+ push :
6
+ branches :
7
+ - " master" # or "main"
8
+ # Run on pull requests
9
+ pull_request :
10
+ # `workflow_dispatch` allows CodSpeed to trigger backtest
11
+ # performance analysis in order to generate initial data.
12
+ workflow_dispatch :
13
+
14
+ jobs :
15
+ benchmarks :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ # ...
20
+ # Setup your environment here:
21
+ # - Configure your Python/Rust/Node version
22
+ # - Install your dependencies
23
+ # - Build your benchmarks (if using a compiled language)
24
+ # ...
25
+ - name : Run benchmarks
26
+ uses : CodSpeedHQ/action@v1
27
+ with :
28
+ token : ${{ secrets.CODSPEED_TOKEN }}
29
+ run : " <Insert your benchmark command here>"
You can’t perform that action at this time.
0 commit comments