File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -14,13 +14,15 @@ jobs:
14
14
run : cargo test
15
15
16
16
- name : CI Metrics
17
+ # To be more stable you can use a tag e.g.
18
+ # https://raw.githubusercontent.com/ci-metrics/script/v0.1.0/run.py
17
19
run : |
18
- wget https://raw.githubusercontent.com/JonathanWoollett-Light/cimetrics- script/v0.1.0 /run.py
20
+ wget https://raw.githubusercontent.com/ci-metrics/ script/master /run.py
19
21
python3 ./run.py
20
22
env :
21
23
# Variables to interact with CI Metrics.
22
- PUBLIC_KEY : " 6546b543a35b7d5af8c93a7b "
23
- PRIVATE_KEY : ${{ secrets.MetricsPrivateKey }}
24
+ PUBLIC_KEY : ${{ vars.METRICS_PUBLIC_KEY }}
25
+ PRIVATE_KEY : ${{ secrets.METRICS_PRIVATE_KEY }}
24
26
# Variables to upload
25
27
HEAD : ${{ github.event.pull_request.head.sha }}
26
28
DATA_FILE : " ./metrics"
Original file line number Diff line number Diff line change @@ -16,13 +16,15 @@ jobs:
16
16
run : cargo test
17
17
18
18
- name : CI Metrics
19
+ # To be more stable you can use a tag e.g.
20
+ # https://raw.githubusercontent.com/ci-metrics/script/v0.1.0/run.py
19
21
run : |
20
- wget https://raw.githubusercontent.com/JonathanWoollett-Light/cimetrics- script/v0.1.0 /run.py
22
+ wget https://raw.githubusercontent.com/ci-metrics/ script/master /run.py
21
23
python3 ./run.py
22
24
env :
23
25
# Variables to interact with CI Metrics.
24
- PUBLIC_KEY : " 6546b543a35b7d5af8c93a7b "
25
- PRIVATE_KEY : ${{ secrets.MetricsPrivateKey }}
26
+ PUBLIC_KEY : ${{ vars.METRICS_PUBLIC_KEY }}
27
+ PRIVATE_KEY : ${{ secrets.METRICS_PRIVATE_KEY }}
26
28
# Variables to upload
27
29
HEAD : ${{ github.event.after }}
28
30
DATA_FILE : " ./metrics"
Original file line number Diff line number Diff line change 1
- # cimetrics-hello-world
1
+ # CI Metrics example
2
2
3
- This is a volatile experiment, you shouldn't use this, instead use https://github.com/bencherdev/bencher .
3
+ A repo presenting an example project using CI Metrics .
4
4
5
- A repo presenting an example system for tracking generic metrics in CI like [ codecov] ( https://about.codecov.io ) .
5
+ CI Metrics is a system to track metrics like how [ codecov] ( https://about.codecov.io ) track code coverage .
6
6
7
7
![ Example PR comment] ( ./pr_comment_example.webp )
8
8
You can’t perform that action at this time.
0 commit comments