File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Aggregator stress test
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ commit_sha :
7
+ description : SHA of the commit on which the load-aggregator binary should be obtained.
8
+ required : true
9
+ type : string
10
+ num_signers :
11
+ description : Number of concurrent signers
12
+ required : true
13
+ type : string
14
+ default : " 100"
15
+ num_clients :
16
+ description : Number of concurrent clients
17
+ required : true
18
+ type : string
19
+ default : " 100"
20
+ enable_debug :
21
+ description : Enable debug output ("-vvv") for the aggregator stress test
22
+ required : true
23
+ type : boolean
24
+ default : false
25
+
26
+ jobs :
27
+ stress-test :
28
+ runs-on : ubuntu-22.04
29
+ steps :
30
+ - name : Checkout sources
31
+ uses : actions/checkout@v4
32
+ with :
33
+ ref : ${{ inputs.commit_sha }}
34
+
35
+ - name : Prepare environment variables
36
+ id : prepare
37
+ shell : bash
38
+ run : |
39
+ if [[ "${{ inputs.enable_debug }}" == "true" ]]; then
40
+ echo "debug_level=-vvv" >> $GITHUB_OUTPUT
41
+ fi
42
+
43
+ - name : Install stable toolchain
44
+ uses : dtolnay/rust-toolchain@master
45
+ with :
46
+ toolchain : stable
47
+
48
+ - name : Build the aggregator stress test
49
+ working-directory : mithril-test-lab/mithril-end-to-end
50
+ run : make build
51
+
52
+ - name : Run the aggregator stress test
53
+ working-directory : mithril-test-lab/mithril-end-to-end
54
+ run : |
55
+ ./load-aggregator ${{ steps.prepare.outputs.debug_level }} \
56
+ --cardano-cli-path script/mock-cardano-cli \
57
+ --aggregator-dir ../../target/release \
58
+ --num-signers=${{ inputs.num_signers }} \
59
+ --num-clients=${{ inputs.num_clients }}
You can’t perform that action at this time.
0 commit comments