Browse Source

ref(ci): adding another backend test shard (#52987)

Adding another backend test shard to hopefully decrease the amount
backend test runs that timeout.
Ian Woodard 1 year ago
parent
commit
51feb34549
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .github/workflows/backend.yml
  2. 1 1
      codecov.yml

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

@@ -74,13 +74,13 @@ jobs:
       fail-fast: false
       matrix:
         # XXX: When updating this, make sure you also update MATRIX_INSTANCE_TOTAL.
-        instance: [0, 1, 2, 3, 4, 5]
+        instance: [0, 1, 2, 3, 4, 5, 6]
         pg-version: ['14']
 
     env:
       # XXX: `MATRIX_INSTANCE_TOTAL` must be hardcoded to the length of `strategy.matrix.instance`.
       # If this increases, make sure to also increase `flags.backend.after_n_builds` in `codecov.yml`.
-      MATRIX_INSTANCE_TOTAL: 6
+      MATRIX_INSTANCE_TOTAL: 7
 
     steps:
       - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0

+ 1 - 1
codecov.yml

@@ -58,7 +58,7 @@ flags:
     - "src/sentry/**/*.py"
     carryforward: true
     # Do not send any status checks until N coverage reports are uploaded
-    after_n_builds: 17
+    after_n_builds: 18
 
 # Read more here: https://docs.codecov.com/docs/pull-request-comments
 comment: