Browse Source

feat(ci): Increase frontend tests to four groups (#32321)

One of the groups is close to 20 minutes, which makes iterating quickly on PRs slow.
Armen Zambrano G 3 years ago
parent
commit
8dda9baec0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/acceptance.yml

+ 2 - 2
.github/workflows/acceptance.yml

@@ -21,7 +21,7 @@ jobs:
     strategy:
       matrix:
         # XXX: When updating this, make sure you also update CI_NODE_TOTAL.
-        instance: [0, 1, 2]
+        instance: [0, 1, 2, 3]
 
     env:
       VISUAL_HTML_ENABLE: 1
@@ -59,7 +59,7 @@ jobs:
           # XXX: CI_NODE_TOTAL must be hardcoded to the length of strategy.matrix.instance.
           #      Otherwise, if there are other things in the matrix, using strategy.job-total
           #      wouldn't be correct.
-          CI_NODE_TOTAL: 3
+          CI_NODE_TOTAL: 4
           CI_NODE_INDEX: ${{ matrix.instance }}
         run: |
           JEST_TESTS=$(yarn -s jest --listTests --json) yarn test-ci --forceExit