Skip to content

Commit

Permalink
fix(ci): Enable file-based persistence on dev server for stress tests (
Browse files Browse the repository at this point in the history
  • Loading branch information
mjameswh committed Aug 1, 2024
1 parent d16ee04 commit 6b050a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Run Temporal CLI
shell: bash
run: |
temporal server start-dev --headless &
temporal server start-dev --headless --db-filename /tmp/temporal.sqlite3 &> /tmp/devserver.log &
- name: Run tests
run: |
Expand All @@ -140,6 +140,13 @@ jobs:
name: worker-mem-logs-${{ inputs.reuse-v8-context && 'reuse-v8' || 'no-reuse-v8' }}
path: ${{ env.TEMPORAL_TESTING_MEM_LOG_DIR }}

- name: Upload Dev Server logs
uses: actions/upload-artifact@v4
if: failure() || cancelled()
with:
name: integration-tests-${{ inputs.reuse-v8-context && 'reuse' || 'noreuse' }}-devserver-logs
path: /tmp/devserver.log

# TODO: set up alerting
# TODO: record test durations and other metrics like memory usage / cache utilization / CPU
# TODO: uses prebuilt binaries from ci.yml

0 comments on commit 6b050a6

Please # to comment.