Skip to content

Commit 9b4c314

Browse files
committed
Update: CI
Adding timeout for unit tests in case they end up hanging for whatever reason (and continue on error so exported builds are still uploaded). Seems to be an issue specific to macos running unit tests that I need to figure out.
1 parent ada7be2 commit 9b4c314

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed

.github/workflows/android_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,10 @@ jobs:
114114
115115
- name: Unit Tests
116116
if: ${{ matrix.target-type == 'template_debug' }}
117+
timeout-minutes: 2
117118
run: |
118119
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
120+
continue-on-error: true
119121

120122
# Upload the build
121123
- name: Upload Artifact

.github/workflows/ios_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ jobs:
9191

9292
- name: Unit Tests
9393
if: ${{ matrix.target-type == 'template_debug' }}
94+
timeout-minutes: 2
9495
run: |
9596
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
97+
continue-on-error: true
9698

9799
# Can comment if you are part of the apple developer program
98100
#- name: Export Project

.github/workflows/linux_builds.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
100100
- name: Unit Tests
101101
if: ${{ matrix.target-type == 'template_debug' }}
102+
timeout-minutes: 2
102103
run: |
103104
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
104105
continue-on-error: true

.github/workflows/macos_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,10 @@ jobs:
9595
9696
- name: Unit Tests
9797
if: ${{ matrix.target-type == 'template_debug' }}
98+
timeout-minutes: 2
9899
run: |
99100
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
101+
continue-on-error: true
100102

101103
# Upload the build
102104
- name: Upload Artifact

.github/workflows/web_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ jobs:
7878
7979
- name: Unit Tests
8080
if: ${{ matrix.target-type == 'template_debug' }}
81+
timeout-minutes: 2
8182
run: |
8283
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
84+
continue-on-error: true
8385

8486
# Upload the build
8587
- name: Upload Artifact

.github/workflows/windows_builds.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,10 @@ jobs:
8585
8686
- name: Unit Tests
8787
if: ${{ matrix.target-type == 'template_debug' }}
88+
timeout-minutes: 2
8889
run: |
8990
python tools/scripts/run_unit_tests.py ${{ matrix.target.platform }} ${{ matrix.target-type }} ${{ matrix.target.arch }} ${{ matrix.float-precision }} True
91+
continue-on-error: true
9092

9193
# Upload the build
9294
- name: Upload Artifact

0 commit comments

Comments
 (0)