|
65 | 65 | matrix: |
66 | 66 | node-version: [oldest, latest] |
67 | 67 | playwright-version: [oldest, latest] |
68 | | - name: integration-playwright (${{ matrix.playwright-version}}, node-${{ matrix.node-version }}) |
| 68 | + spec: |
| 69 | + - playwright-reporting |
| 70 | + - playwright-efd |
| 71 | + - playwright-atr |
| 72 | + - playwright-test-management |
| 73 | + - playwright-active-test-span |
| 74 | + - playwright-impacted-tests |
| 75 | + name: integration-playwright (${{ matrix.playwright-version}}, node-${{ matrix.node-version }}, ${{ matrix.spec }}) |
69 | 76 | runs-on: ubuntu-latest |
70 | 77 | permissions: |
71 | 78 | id-token: write |
@@ -111,6 +118,7 @@ jobs: |
111 | 118 | env: |
112 | 119 | NODE_OPTIONS: "-r ./ci/init" |
113 | 120 | DD_API_KEY: ${{ steps.dd-sts.outputs.api_key }} |
| 121 | + SPEC: ${{ matrix.spec }} |
114 | 122 |
|
115 | 123 | integration-mocha: |
116 | 124 | strategy: |
@@ -235,9 +243,26 @@ jobs: |
235 | 243 | # 6.7.0 is the minimum version we support in <=5 |
236 | 244 | # 10.2.0 is the minimum version we support in >=6 |
237 | 245 | # 14.5.4 is the latest version that supports Node 18 |
238 | | - # The logic to decide whether the tests run lives in integration-tests/cypress/cypress.spec.js |
| 246 | + # The logic to decide whether the tests run lives in the individual spec files |
239 | 247 | cypress-version: [6.7.0, 10.2.0, 14.5.4, latest] |
240 | 248 | module-type: ["commonJS", "esm"] |
| 249 | + spec: |
| 250 | + - cypress-reporting |
| 251 | + - cypress-itr |
| 252 | + - cypress-efd |
| 253 | + - cypress-atr |
| 254 | + - cypress-test-management |
| 255 | + - cypress-impacted-tests |
| 256 | + - cypress-final-status |
| 257 | + exclude: |
| 258 | + # eol = Node 16: shouldTestsRun() always returns false for DD_MAJOR >= 6 |
| 259 | + - version: eol |
| 260 | + # 6.7.0 is only supported for DD_MAJOR <= 5; never runs on this branch |
| 261 | + - cypress-version: 6.7.0 |
| 262 | + # Node 18 (oldest) only supports 10.2.0 and 14.5.4, not latest |
| 263 | + - version: oldest |
| 264 | + cypress-version: latest |
| 265 | + name: integration-cypress (${{ matrix.cypress-version }}, node-${{ matrix.version }}, ${{ matrix.module-type }}, ${{ matrix.spec }}) |
241 | 266 | runs-on: ubuntu-latest |
242 | 267 | permissions: |
243 | 268 | id-token: write |
@@ -267,6 +292,7 @@ jobs: |
267 | 292 | NODE_OPTIONS: "-r ./ci/init" |
268 | 293 | CYPRESS_MODULE_TYPE: ${{ matrix.module-type }} |
269 | 294 | OPTIONS_OVERRIDE: 1 |
| 295 | + SPEC: ${{ matrix.spec }} |
270 | 296 | DD_API_KEY: ${{ steps.dd-sts.outputs.api_key }} |
271 | 297 |
|
272 | 298 | integration-vitest: |
|
0 commit comments