Skip to content

Commit

Permalink
Fix e2e test matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Per Goncalves da Silva <[email protected]>
  • Loading branch information
Per Goncalves da Silva committed Nov 19, 2024
1 parent 1c09718 commit 0a0cd4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ jobs:
# run non-flakes if matrix-id is not 'flakes'
- name: Run e2e tests
# calculate the number of chunks as the number of parallel jobs minus 1 (flakes job)
# calculate the number of chunks as the number of parallel jobs
# use the split tool to split the test suite into chunks and run the chunk corresponding to the matrix-id
# focus on those tests and skip tests marked as FLAKE
run: |
E2E_TEST_NUM_CHUNKS=$(( ${{ strategy.job-total }} - 1 )) \
E2E_TEST_NUM_CHUNKS=$(( ${{ strategy.job-total }})) \
GINKGO_OPTS="${GINKGO_OPTS} -focus '$(go run ./test/e2e/split/... -chunks $E2E_TEST_NUM_CHUNKS -print-chunk $E2E_TEST_CHUNK ./test/e2e)' -skip '\[FLAKE\]'" \
make e2e;
Expand Down

0 comments on commit 0a0cd4d

Please sign in to comment.