File tree Expand file tree Collapse file tree 4 files changed +64
-0
lines changed
Expand file tree Collapse file tree 4 files changed +64
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Kurtosis install
2+ inputs :
3+ version :
4+ description : ' Version to install'
5+ required : false
6+ default : ' latest'
7+ runs :
8+ using : composite
9+ steps :
10+ - name : Install
11+ shell : bash
12+ run : |
13+ echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
14+ sudo apt update
15+ if [ "${{ inputs.version }}" = "latest" ]; then
16+ sudo apt install kurtosis-cli
17+ else
18+ sudo apt install kurtosis-cli=${{ inputs.version }}
19+ fi
20+ kurtosis analytics disable
21+ echo "$(dirname $(which kurtosis))" >> $GITHUB_PATH
Original file line number Diff line number Diff line change 11name : " github.com/tedim52/avalabs-package"
22
33replace :
4+ # custom package that puts dashboards directly in the grafana package
45 github.com/kurtosis-tech/grafana-package : /grafana-package
6+
7+ # using a custom package that starts the node exporter with prom
58 github.com/kurtosis-tech/prometheus-package : /prometheus-package
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ pull_request :
5+
6+ group : " tests-${{ github.head_ref }}"
7+ cancel-in-progress : true
8+
9+ jobs :
10+ run_starlark :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout Repository
14+ uses : actions/checkout@v4
15+ - name : Setup Kurtosis
16+ uses : ./.github/actions/kurtosis-install
17+ - name : Run basic test
18+ run : |
19+ kurtosis run ${{ github.workspace }} --args-file configs/just-network.json
20+
21+ run_with_args :
22+ strategy :
23+ matrix :
24+ file_name :
25+ [
26+ " ./configs/just-network.json" ,
27+ " ./configs/one-chain.json" ,
28+ " ./configs/two-chains-with-bridge.json" ,
29+ " ./configs/hypersdk.json" ,
30+ " ./configs/fuji.json" ,
31+ ]
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Checkout Repository
35+ uses : actions/checkout@v4
36+ - name : Setup Kurtosis
37+ uses : ./.github/actions/kurtosis-install
38+ - name : Run Starlark
39+ run : |
40+ kurtosis run ${{ github.workspace }} --args-file ${{ matrix.file_name }}
You can’t perform that action at this time.
0 commit comments