Skip to content

Commit fdaf56b

Browse files
authored
Use citool from ctf in run-tests GHA (#190)
1 parent 4195d0f commit fdaf56b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

chainlink-testing-framework/run-tests/action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,18 @@ runs:
328328
shell: bash
329329
run: go run ${{ github.action_path }}/mask-testsecrets/main.go "${{ inputs.test_secrets_override_base64 }}"
330330

331+
- name: Checkout chainlink-testing-framework to use citool
332+
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
333+
with:
334+
repository: smartcontractkit/chainlink-testing-framework
335+
ref: main
336+
fetch-depth: 0
337+
path: ctf
338+
331339
- name: Create default test config override
332340
if: inputs.test_config_override_base64 == ''
333341
shell: bash
334342
run: |
335-
cd integration-tests/citool/
336-
337343
create_args=()
338344
if [ -n "${{ inputs.test_config_chainlink_version }}" ]; then
339345
create_args+=(--chainlink-version="${{ inputs.test_config_chainlink_version }}")
@@ -369,6 +375,8 @@ runs:
369375
create_args+=(--selected-networks="$i")
370376
done
371377
378+
cd ctf/tools/citool/
379+
372380
config_override=$(go run main.go test-config create "${create_args[@]}")
373381
374382
BASE64_CONFIG_OVERRIDE=$(echo "$config_override" | base64 -w 0)

0 commit comments

Comments
 (0)