File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 7
7
- ' e2e/**'
8
8
9
9
workflow_dispatch :
10
+ inputs :
11
+ group_tests :
12
+ description : Run group of tests
13
+ default : ' all'
14
+ type : choice
15
+ options :
16
+ - all
17
+ - without_e2e
18
+
10
19
workflow_call :
20
+ inputs :
21
+ group_tests :
22
+ description : Run group of tests
23
+ type : string
24
+ default : ' all'
11
25
12
26
jobs :
13
27
frontend-tests :
14
- if : startsWith(github.ref_name, 'feature/')
28
+ if : inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'feature/')
15
29
uses : ./.github/workflows/tests-frontend.yml
16
30
secrets : inherit
17
31
18
32
# E2E Approve
19
33
e2e-approve :
20
34
runs-on : ubuntu-latest
21
35
timeout-minutes : 60
22
- if : startsWith(github.ref_name, 'e2e/')
36
+ if : inputs.group_tests == 'all' || startsWith(github.ref_name, 'e2e/')
23
37
environment : ${{ startsWith(github.ref_name, 'e2e/') && 'e2e-approve' || 'staging' }}
24
38
name : Approve E2E tests
25
39
steps :
You can’t perform that action at this time.
0 commit comments