11
11
build :
12
12
name : Scan
13
13
runs-on : ubuntu-latest
14
- strategy :
15
- fail-fast : false
16
- matrix :
17
- containers : [0, 1, 2, 3, 4] # Distribuirá la carga entre 5 contenedores para paralelismo
18
14
19
15
steps :
20
16
# #######################################
@@ -88,12 +84,12 @@ jobs:
88
84
spec : " tests/e2e/**/*"
89
85
record : true
90
86
parallel : true # Habilita el paralelismo
91
- group : " CI - Chrome - Container ${{ matrix.containers }} " # Identificar grupo de pruebas por contenedor
87
+ group : " CI - Chrome" # Grupo de ejecución para Cypress
92
88
env :
93
89
CYPRESS_RECORD_KEY : ${{ secrets.CYPRESS_RECORD_KEY }}
94
90
GITHUB_TOKEN : ${{ secrets.GIT_TOKEN }}
95
91
COMMIT_INFO_MESSAGE : ${{ github.event.pull_request.title }}
96
- COMMIT_INFO_SHA : ${{ github.event.pull_request.head.sha }}
92
+ COMMIT_INFO_SHA : ${{github.event.pull_request.head.sha}}
97
93
98
94
- name : Upload Cypress Screenshots
99
95
uses : actions/upload-artifact@v4
@@ -111,12 +107,13 @@ jobs:
111
107
112
108
- name : Prepare coverage
113
109
working-directory : screen-builder
114
- run : cp .nyc_output/out.json coverage/coverage-${{ matrix.containers }}.json
110
+ run : cp .nyc_output/out.json coverage/coverage.json
111
+
115
112
- name : Archive code coverage
116
113
uses : actions/upload-artifact@v4
117
114
with :
118
- name : coverage-${{ matrix.containers }}
119
- path : ./screen-builder/coverage/coverage-${{ matrix.containers }} .json
115
+ name : coverage
116
+ path : ./screen-builder/coverage/coverage.json
120
117
121
118
- name : Create coverage report
122
119
working-directory : screen-builder
0 commit comments