File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -161,3 +161,47 @@ jobs:
161
161
- run : pnpm install --frozen-lockfile
162
162
- name : test
163
163
run : pnpm --filter ember-cli-fastboot exec ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
164
+
165
+ discover_matrix :
166
+ runs-on : ubuntu-latest
167
+
168
+ outputs :
169
+ matrix : ${{ steps.set-matrix.outputs.matrix }}
170
+
171
+ steps :
172
+ - uses : actions/checkout@v3
173
+ - uses : pnpm/action-setup@v2
174
+ with :
175
+ version : 7
176
+ - uses : actions/setup-node@v3
177
+ with :
178
+ node-version : 14
179
+ cache : pnpm
180
+ - run : pnpm install --frozen-lockfile
181
+ - id : set-matrix
182
+ working-directory : test-packages/test-scenarios
183
+ run : echo "::set-output name=matrix::$(npm run --silent test:list -- --matrix 'npm run test -- --filter %s:')"
184
+
185
+ scenario-tester :
186
+ needs : discover_matrix
187
+ name : ${{ matrix.name }}
188
+ runs-on : ubuntu-latest
189
+ timeout-minutes : 7
190
+
191
+ strategy :
192
+ fail-fast : false
193
+ matrix : ${{fromJson(needs.discover_matrix.outputs.matrix)}}
194
+
195
+ steps :
196
+ - uses : actions/checkout@v3
197
+ - uses : pnpm/action-setup@v2
198
+ with :
199
+ version : 7
200
+ - uses : actions/setup-node@v3
201
+ with :
202
+ node-version : 14
203
+ cache : pnpm
204
+ - run : pnpm install --frozen-lockfile
205
+ - name : test
206
+ run : ${{ matrix.command }}
207
+ working-directory : test-packages/test-scenarios
You can’t perform that action at this time.
0 commit comments