Skip to content

Commit

Permalink
Use citool from ctf in run-tests GHA (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl authored Aug 9, 2024
1 parent 4195d0f commit fdaf56b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions chainlink-testing-framework/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,18 @@ runs:
shell: bash
run: go run ${{ github.action_path }}/mask-testsecrets/main.go "${{ inputs.test_secrets_override_base64 }}"

- name: Checkout chainlink-testing-framework to use citool
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
repository: smartcontractkit/chainlink-testing-framework
ref: main
fetch-depth: 0
path: ctf

- name: Create default test config override
if: inputs.test_config_override_base64 == ''
shell: bash
run: |
cd integration-tests/citool/
create_args=()
if [ -n "${{ inputs.test_config_chainlink_version }}" ]; then
create_args+=(--chainlink-version="${{ inputs.test_config_chainlink_version }}")
Expand Down Expand Up @@ -369,6 +375,8 @@ runs:
create_args+=(--selected-networks="$i")
done
cd ctf/tools/citool/
config_override=$(go run main.go test-config create "${create_args[@]}")
BASE64_CONFIG_OVERRIDE=$(echo "$config_override" | base64 -w 0)
Expand Down

0 comments on commit fdaf56b

Please sign in to comment.