Scheduling infrastructure for absolutely everyone.
chore: Shard E2E tests (#9206)
Keith Williams2e379653a452
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex b5abb0559ad..d4b15286a09 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -4,7 +4,7 @@ on:jobs:e2e:timeout-minutes: 20- name: E2E tests+ name: E2E tests (${{ matrix.shard }}/${{ strategy.job-total }})runs-on: buildjet-4vcpu-ubuntu-2204services:postgres:@@ -14,6 +14,10 @@ jobs:POSTGRES_DB: calendsoports:- 5432:5432+ strategy:+ fail-fast: false+ matrix:+ shard: [1, 2, 3, 4, 5]steps:- uses: actions/checkout@v3- uses: ./.github/actions/dangerous-git-checkout@@ -23,13 +27,15 @@ jobs:- uses: ./.github/actions/env-read-file- uses: ./.github/actions/cache-db- uses: ./.github/actions/cache-build+ - name: Seed Test DB+ run: yarn db-seed- name: Run Tests- run: yarn test-e2e+ run: yarn e2e --shard=${{ matrix.shard }}/${{ strategy.job-total }}env:DEPLOYSENTINEL_API_KEY: ${{ secrets.DEPLOYSENTINEL_API_KEY }}- name: Upload Test Resultsif: ${{ always() }}uses: actions/upload-artifact@v2with:- name: test-results+ name: test-results-${{ matrix.shard }}_${{ strategy.job-total }}path: test-results