Skip to content

Commit e4269f3

Browse files
committed
docs: move Phase1 review to docs/reviews/ and add stress test workflow
- Move docs/PHASE1_REVIEW.md to docs/reviews/ - Add workflow_dispatch to run stress tests manually - Stress tests now run with '[stress]' tag via GitHub UI
1 parent 29e360d commit e4269f3

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: [ main, develop, 'feature/**' ]
66
pull_request:
77
branches: [ main, develop ]
8+
workflow_dispatch:
9+
inputs:
10+
run_stress:
11+
description: 'Run stress tests'
12+
required: false
13+
default: 'false'
814

915
jobs:
1016
build-and-test:
@@ -23,5 +29,10 @@ jobs:
2329
- name: Build
2430
run: cd build && cmake --build .
2531

26-
- name: Run Tests
32+
- name: Run Tests (skip stress)
33+
if: github.event_name != 'workflow_dispatch' || github.inputs.run_stress != 'true'
2734
run: cd build && ./tests/CaffeineTest ~[stress] --success
35+
36+
- name: Run Stress Tests
37+
if: github.event_name == 'workflow_dispatch' && github.inputs.run_stress == 'true'
38+
run: cd build && ./tests/CaffeineTest "[stress]" --success
File renamed without changes.

0 commit comments

Comments
 (0)