66 - ' fe/**'
77 - ' be/**'
88 - ' fe-be/**'
9- - ' e2e/**'
109 - ' feature/**'
1110 - ' bugfix/**'
1211 - ' ric/**'
1312
1413 workflow_dispatch :
1514 inputs :
16- group_tests :
17- description : Run group of tests
18- default : ' all'
19- type : choice
20- options :
21- - all
22- - without_e2e
23- - only_e2e
24-
2515 redis_client :
2616 description : Library to use for redis connection
2717 default : ' ioredis'
4232
4333 workflow_call :
4434 inputs :
45- group_tests :
46- description : Run group of tests
47- type : string
48- default : ' without_e2e'
4935 short_rte_list :
5036 description : Use short rte list
5137 type : boolean
7157 frontend : ${{ steps.filter.outputs.frontend }}
7258 backend : ${{ steps.filter.outputs.backend }}
7359 desktop : ${{ steps.filter.outputs.desktop }}
74- e2e : ${{ steps.filter.outputs.e2e }}
7560 steps :
7661 - uses : actions/checkout@v4
7762 - uses : dorny/paths-filter@v3.0.2
@@ -85,12 +70,10 @@ jobs:
8570 - 'redisinsight/api/**'
8671 desktop:
8772 - 'redisinsight/desktop/**'
88- e2e:
89- - 'tests/e2e/**'
9073
9174 frontend-tests :
9275 needs : changes
93- if : inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'fe/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
76+ if : startsWith(github.ref_name, 'fe/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
9477 uses : ./.github/workflows/tests-frontend.yml
9578 secrets : inherit
9679
10487
10588 backend-tests :
10689 needs : changes
107- if : inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
90+ if : startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
10891 uses : ./.github/workflows/tests-backend.yml
10992 secrets : inherit
11093
@@ -118,7 +101,7 @@ jobs:
118101
119102 integration-tests :
120103 needs : changes
121- if : inputs.group_tests == 'all' || inputs.group_tests == 'without_e2e' || startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
104+ if : startsWith(github.ref_name, 'be/') || startsWith(github.ref_name, 'fe-be/') || startsWith(github.ref_name, 'feature/') || startsWith(github.ref_name, 'bugfix/') || startsWith(github.ref_name, 'ric/')
122105 uses : ./.github/workflows/tests-integration.yml
123106 secrets : inherit
124107 with :
@@ -134,49 +117,6 @@ jobs:
134117 resource_name : integration-coverage
135118 type : integration
136119
137- # # E2E Approve
138- e2e-approve :
139- runs-on : ubuntu-latest
140- needs : changes
141- if : inputs.group_tests == 'all' || inputs.group_tests == 'only_e2e' || startsWith(github.ref_name, 'e2e/')
142- timeout-minutes : 60
143- environment : ${{ startsWith(github.ref_name, 'e2e/') && 'e2e-approve' || 'staging' }}
144- name : Approve E2E tests
145- steps :
146- - uses : actions/checkout@v4
147-
148- # E2E Docker
149- build-docker :
150- uses : ./.github/workflows/pipeline-build-docker.yml
151- needs : e2e-approve
152- secrets : inherit
153- with :
154- debug : ${{ inputs.debug || false }}
155- for_e2e_tests : true
156-
157- e2e-docker-tests :
158- needs : build-docker
159- uses : ./.github/workflows/tests-e2e-docker.yml
160- secrets : inherit
161- with :
162- debug : ${{ inputs.debug || false }}
163-
164- # E2E AppImage
165- build-appimage :
166- uses : ./.github/workflows/pipeline-build-linux.yml
167- needs : e2e-approve
168- secrets : inherit
169- with :
170- target : build_linux_appimage_x64
171- debug : ${{ inputs.debug || false }}
172-
173- e2e-appimage-tests :
174- needs : build-appimage
175- uses : ./.github/workflows/tests-e2e-appimage.yml
176- secrets : inherit
177- with :
178- debug : ${{ inputs.debug || false }}
179-
180120 clean :
181121 uses : ./.github/workflows/clean-deployments.yml
182122 if : always()
@@ -185,8 +125,6 @@ jobs:
185125 frontend-tests,
186126 backend-tests,
187127 integration-tests,
188- e2e-docker-tests,
189- e2e-appimage-tests,
190128 ]
191129
192130 # Remove artifacts from github actions
@@ -197,8 +135,6 @@ jobs:
197135 frontend-tests,
198136 backend-tests,
199137 integration-tests,
200- e2e-docker-tests,
201- e2e-appimage-tests,
202138 ]
203139 runs-on : ubuntu-latest
204140 steps :
0 commit comments