Skip to content

Commit

Permalink
workflow call
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Aug 13, 2024
1 parent 5e065d7 commit f94f612
Show file tree
Hide file tree
Showing 7 changed files with 108 additions and 3 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/e2e-test-evm-workflow-call.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
on:
workflow_call:
inputs:
dymension_ci:
description: "CI run on Dymension Repo"
required: false
type: string
default: "latest"
rollapp_evm_ci:
description: "CI run on Rollapp-EVM Repo"
required: false
type: string
default: "latest"
rollapp_wasm_ci:
description: "CI run on Rollapp-Wasm Repo"
required: false
type: string
default: "latest"
relayer_ci:
description: "CI run on Relayer Repo"
required: false
type: string
default: "main-dym"
test:
description: 'test name to run as standalone'
required: false
Expand All @@ -26,6 +41,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -50,6 +66,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -69,6 +86,9 @@ jobs:
- name: Rollapp-EVM E2E Tests
run: make e2e-test test=${{ matrix.test }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}


19 changes: 19 additions & 0 deletions .github/workflows/e2e-test-hub-upgrade-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ on:
required: false
type: string
default: "latest"
rollapp_evm_ci:
description: "CI run on Rollapp-EVM Repo"
required: false
type: string
default: "latest"
rollapp_wasm_ci:
description: "CI run on Rollapp-Wasm Repo"
required: false
type: string
default: "latest"
relayer_ci:
description: "CI run on Relayer Repo"
required: false
type: string
default: "main-dym"
upgrade_name:
description: "Upgrade Name be used by e2e-tests"
required: false
Expand All @@ -25,6 +40,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -45,4 +61,7 @@ jobs:
run: make ${{ matrix.tests }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}
UPGRADE_NAME: ${{ inputs.upgrade_name }}
21 changes: 20 additions & 1 deletion .github/workflows/e2e-test-rollapp-evm-upgrade-workflow-call.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
on:
workflow_call:
inputs:
dymension_ci:
description: "CI run on Dymension Repo"
required: false
type: string
default: "latest"
rollapp_evm_ci:
description: "CI run on Rollapp-EVM Repo"
required: false
type: string
default: "latest"
rollapp_wasm_ci:
description: "CI run on Rollapp-Wasm Repo"
required: false
type: string
default: "latest"
relayer_ci:
description: "CI run on Relayer Repo"
required: false
type: string
default: "main-dym"
upgrade_name:
description: "Upgrade Name be used by e2e-tests"
required: true
Expand All @@ -25,6 +40,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -44,5 +60,8 @@ jobs:
- name: Rollapp-EVM Upgrade E2E Tests
run: make ${{ matrix.tests }}
env:
DYMENSION_CI: ${{ inputs.rollapp_evm_ci }}
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}
UPGRADE_ROLAPP_EVM_NAME: ${{ inputs.upgrade_name }}
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
on:
workflow_call:
inputs:
dymension_ci:
description: "CI run on Dymension Repo"
required: false
type: string
default: "latest"
rollapp_evm_ci:
description: "CI run on Rollapp-EVM Repo"
required: false
type: string
default: "latest"
rollapp_wasm_ci:
description: "CI run on Rollapp-Wasm Repo"
required: false
type: string
default: "latest"
relayer_ci:
description: "CI run on Relayer Repo"
required: false
type: string
default: "main-dym"
upgrade_name:
description: "Upgrade Name be used by e2e-tests"
required: false
Expand All @@ -25,6 +40,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -44,5 +60,8 @@ jobs:
- name: Rollapp-Wasm Upgrade E2E Tests
run: make ${{ matrix.tests }}
env:
DYMENSION_CI: ${{ inputs.rollapp_wasm_ci }}
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}
UPGRADE_ROLAPP_WASM_NAME: ${{ inputs.upgrade_name }}
20 changes: 20 additions & 0 deletions .github/workflows/e2e-test-wasm-workflow-call.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
on:
workflow_call:
inputs:
dymension_ci:
description: "CI run on Dymension Repo"
required: false
type: string
default: "latest"
rollapp_evm_ci:
description: "CI run on Rollapp-EVM Repo"
required: false
type: string
default: "latest"
rollapp_wasm_ci:
description: "CI run on Rollapp-Wasm Repo"
required: false
type: string
default: "latest"
relayer_ci:
description: "CI run on Relayer Repo"
required: false
type: string
default: "main-dym"
test:
description: 'test name to run as standalone'
required: false
Expand All @@ -26,6 +41,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -49,6 +65,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -68,5 +85,8 @@ jobs:
- name: Rollapp-Wasm E2E Tests
run: make e2e-test test=${{ matrix.test }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
RELAYER_CI: ${{ inputs.relayer_ci }}

6 changes: 5 additions & 1 deletion .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -60,6 +61,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -82,7 +84,8 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
repository: dymensionxyz/e2e-tests'
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand Down Expand Up @@ -119,6 +122,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -45,6 +46,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- uses: actions/setup-go@v5
with:
go-version: '1.21'
Expand All @@ -66,6 +68,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand All @@ -86,6 +89,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: dymensionxyz/e2e-tests
ref: v1.0.0
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit f94f612

Please sign in to comment.