Skip to content

Commit f6aa445

Browse files
committed
feat(ci): timeout for flaky.yml
1 parent 9bbf939 commit f6aa445

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/flaky.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
ruby: ${{ steps.generate-matrix.outputs.ruby }}
4545
seeds: ${{ steps.generate-matrix.outputs.seeds }}
4646
test:
47+
timeout-minutes: 9
4748
runs-on: ubuntu-latest
4849
needs: prepare-matrix
4950
strategy:
@@ -98,8 +99,8 @@ jobs:
9899
99100
jq --slurp --raw-output '
100101
sort_by(.total_time)[0:100][]
101-
| {seed, time: .total_time | strftime("%H:%M:%S"), failure: .failed_tests[0].NAME }
102-
| "<tr><td>\(.seed)</td><td>\(.time)</td><td>\(.failure)</td></tr>"
102+
| {seed, time: .total_time | strftime("%H:%M:%S"), klass: .failed_tests[0].klass, test: .failed_tests[0].NAME }
103+
| "<tr><td>\(.seed)</td><td>\(.time)</td><td>\(.klass)#\(.test)</td></tr>"
103104
' reports/*/report.json >> $GITHUB_STEP_SUMMARY
104105
105106

0 commit comments

Comments
 (0)