Skip to content

Commit ee95366

Browse files
committed
ci: add explicit workflow timeouts and stacktraces
1 parent a52f7f6 commit ee95366

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
jobs:
99
verify:
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 30
1112

1213
steps:
1314
- name: Checkout
@@ -25,10 +26,12 @@ jobs:
2526

2627
- name: Format check
2728
run: ./gradlew --no-daemon formatCheck
29+
timeout-minutes: 10
2830

2931
- name: Test
3032
id: test
31-
run: ./gradlew --no-daemon test
33+
run: ./gradlew --no-daemon test --stacktrace
34+
timeout-minutes: 20
3235

3336
- name: Reopen and unassign Linear issue on failed PR tests
3437
if: ${{ failure() && github.event_name == 'pull_request' && steps.test.outcome == 'failure' }}
@@ -38,6 +41,7 @@ jobs:
3841

3942
verify-desktop:
4043
runs-on: macos-latest
44+
timeout-minutes: 45
4145

4246
steps:
4347
- name: Checkout
@@ -56,6 +60,8 @@ jobs:
5660
- name: Swift test
5761
run: swift test
5862
working-directory: macos
63+
timeout-minutes: 20
5964

6065
- name: Desktop bundle smoke build
6166
run: /bin/bash shell/build-desktop-app-bundle.sh
67+
timeout-minutes: 20

0 commit comments

Comments
 (0)