Skip to content

Commit 6b050a6

Browse files
authored
fix(ci): Enable file-based persistence on dev server for stress tests (#1480)
1 parent d16ee04 commit 6b050a6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/stress.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
- name: Run Temporal CLI
118118
shell: bash
119119
run: |
120-
temporal server start-dev --headless &
120+
temporal server start-dev --headless --db-filename /tmp/temporal.sqlite3 &> /tmp/devserver.log &
121121
122122
- name: Run tests
123123
run: |
@@ -140,6 +140,13 @@ jobs:
140140
name: worker-mem-logs-${{ inputs.reuse-v8-context && 'reuse-v8' || 'no-reuse-v8' }}
141141
path: ${{ env.TEMPORAL_TESTING_MEM_LOG_DIR }}
142142

143+
- name: Upload Dev Server logs
144+
uses: actions/upload-artifact@v4
145+
if: failure() || cancelled()
146+
with:
147+
name: integration-tests-${{ inputs.reuse-v8-context && 'reuse' || 'noreuse' }}-devserver-logs
148+
path: /tmp/devserver.log
149+
143150
# TODO: set up alerting
144151
# TODO: record test durations and other metrics like memory usage / cache utilization / CPU
145152
# TODO: uses prebuilt binaries from ci.yml

0 commit comments

Comments
 (0)