File tree 3 files changed +20
-4
lines changed
3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 47
47
- name : Generate short list of the test files
48
48
working-directory : ./tests/e2e
49
49
run : |
50
- testFiles=$(find dist -type f -name '*.e2e.js' | sort | awk "NR % 1 == ${{ matrix.parallel }}")
50
+ testFiles=$(find dist -type f -name '*.e2e.js' | sort | awk "NR % 4 == ${{ matrix.parallel }}")
51
51
echo $testFiles
52
52
53
53
# Multi-Line value
Original file line number Diff line number Diff line change 16
16
uses : ./.github/actions/install-all-build-libs
17
17
18
18
- name : Unit tests UI
19
- run : yarn test:cov --ci --silent
19
+ run : yarn test:cov
20
20
21
21
- name : Publish Test Results
22
22
uses : EnricoMi/publish-unit-test-result-action@v2
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
39
+ steps :
40
+ - uses : actions/checkout@v4
25
41
26
42
# E2E Docker
27
43
build-linux :
You can’t perform that action at this time.
0 commit comments