Skip to content

Commit 5b466e2

Browse files
authored
Merge pull request #330 from synonymdev/e2e-branch
Allow specifying e2e branch
2 parents cb2eb0b + b59f1ba commit 5b466e2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/e2e.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: E2E
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
e2e_branch:
7+
description: "Branch of synonymdev/bitkit-e2e-tests to use"
8+
required: false
9+
default: "main"
510
pull_request:
611

712
env:
@@ -60,11 +65,17 @@ jobs:
6065
needs: build
6166

6267
steps:
68+
- name: Show selected E2E branch
69+
env:
70+
E2E_BRANCH: ${{ github.event.inputs.e2e_branch || 'main' }}
71+
run: echo $E2E_BRANCH
72+
6373
- name: Clone E2E tests
6474
uses: actions/checkout@v4
6575
with:
6676
repository: synonymdev/bitkit-e2e-tests
6777
path: bitkit-e2e-tests
78+
ref: ${{ github.event.inputs.e2e_branch || 'main' }}
6879

6980
- name: Enable KVM
7081
run: |

0 commit comments

Comments
 (0)