Skip to content

Commit 17082e4

Browse files
authored
ci: aggregate integration tests matrix into single check (#2569)
1 parent 94beb22 commit 17082e4

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/integration_tests.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
secrets:
1111
CODECOV_TOKEN: { required: false }
1212
jobs:
13-
integration_tests:
13+
run:
1414
runs-on: infra-tests
1515
timeout-minutes: 30
1616
permissions:
@@ -117,3 +117,16 @@ jobs:
117117
with:
118118
name: Service Logs (${{ matrix.name }})
119119
path: ~/logs/*.log
120+
121+
integration_tests:
122+
needs: run
123+
if: always()
124+
runs-on: ubuntu-latest
125+
steps:
126+
- name: Aggregate matrix result
127+
run: |
128+
if [[ "${{ needs.run.result }}" != "success" ]]; then
129+
echo "matrix result: ${{ needs.run.result }}"
130+
exit 1
131+
fi
132+
echo "all matrix shards succeeded"

0 commit comments

Comments
 (0)