Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Feb 8, 2025
1 parent 34307a2 commit 83e51e0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/interchaintest_custom_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
test-cmd:
type: string
required: true
description: 'The make cmd to run to test the custom interchain tests'
description: "The make cmd to run to test the custom interchain tests"

jobs:
run_interchaintest_custom:
Expand All @@ -20,10 +20,10 @@ jobs:
- name: Set up Golang
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
go-version-file: "go.mod"

- name: Download Stargaze Docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sg
path: /tmp
Expand All @@ -35,4 +35,4 @@ jobs:
run: docker load --input /tmp/sg.tar && docker images

- name: Run test
run: make ${{ inputs.test-cmd }}
run: make ${{ inputs.test-cmd }}
15 changes: 7 additions & 8 deletions .github/workflows/interchaintest_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
test-matrix:
type: string
required: true
description: 'Path of the interchain test matrix file'
description: "Path of the interchain test matrix file"

jobs:
run_interchaintest:
name: Interchain Test
Expand All @@ -20,25 +20,24 @@ jobs:
sparse-checkout: ${{ inputs.test-matrix }}

- name: Download interchaintest
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: interchaintest

- name: Download Stargaze Docker image
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sg
path: /tmp

- name: Make interchaintest binary executable
run: chmod +x ./interchaintest

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Load Stargaze Docker image
run: docker load --input /tmp/sg.tar && docker images

- name: Run interchaintest
run: ./interchaintest -matrix ./${{ inputs.test-matrix }} -log-file stdout

0 comments on commit 83e51e0

Please sign in to comment.