File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : run Perf Test and collect data
2
-
2
+ env :
3
+ default_image : " ghcr.io/meta-introspector/o1js/o1js-perf-recording:latest"
3
4
on :
4
5
workflow_dispatch :
5
6
inputs :
6
7
image_url :
7
8
description : ' Docker url to execute'
8
9
# default: "ghcr.io/meta-introspector/o1js/o1js-perf-recording:5ce0221662cecbca9a3de05601af94a15b154a3bcf8bafcb0cfa1f5b9f407bdc"
9
- default : ghcr.io/meta-introspector/o1js/o1js-perf-recording:latest
10
+ default : ${{ env.default_image }}
10
11
push :
11
- branches : [ "collect-perf " ]
12
+ branches : [ "feature/just_test " ]
12
13
pull_request :
13
14
branches : [ "collect-perf" ]
14
15
jobs :
@@ -27,13 +28,12 @@ jobs:
27
28
password : ${{ secrets.GITHUB_TOKEN }}
28
29
29
30
- name : pull the image
30
- run : docker pull ${{ inputs.image_url }}
31
+ run : docker pull ${{ inputs.image_url || env.default_image }}
31
32
32
33
- name : run the Docker tests
33
34
run : docker compose up mina-local-network
34
35
env :
35
- DOCKER_IMAGE_URL : ${{ inputs.image_url }}
36
-
36
+ DOCKER_IMAGE_URL : ${{ inputs.image_url || env.default_image}}
37
37
38
38
- name : docker cp results
39
39
run : docker compose cp mina-local-network:/tmp/perf.data.tar.gz perf.data.tar.gz
You can’t perform that action at this time.
0 commit comments