File tree Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Expand file tree Collapse file tree 2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 28
28
name : 🔄 Async Safety & Performance Testing
29
29
runs-on : ubuntu-latest
30
30
needs : [test]
31
-
31
+
32
32
strategy :
33
33
fail-fast : false
34
34
matrix :
@@ -39,39 +39,39 @@ jobs:
39
39
uses : actions/checkout@v4
40
40
with :
41
41
fetch-depth : 1
42
-
42
+
43
43
- name : 🐍 Setup Python ${{ matrix.python }}
44
44
uses : actions/setup-python@v5
45
45
with :
46
46
python-version : ${{ matrix.python }}
47
47
cache : pip
48
-
48
+
49
49
- name : 📦 Install dependencies
50
50
run : |
51
51
python -m pip install --upgrade pip
52
52
pip install -e .[dev]
53
53
pip install flake8-async flake8-bugbear pytest-asyncio snakeviz aiomonitor
54
-
54
+
55
55
- name : 🔍 Run async linting
56
56
run : |
57
57
make async-lint
58
-
58
+
59
59
- name : 🐛 Run async debug tests
60
60
run : |
61
61
make async-debug
62
-
62
+
63
63
- name : 📊 Generate performance profiles
64
64
run : |
65
65
make profile
66
-
66
+
67
67
- name : ⚡ Run async benchmarks
68
68
run : |
69
69
make async-benchmark
70
-
70
+
71
71
- name : ✅ Validate async patterns
72
72
run : |
73
73
make async-validate
74
-
74
+
75
75
- name : 📎 Upload async test artifacts
76
76
uses : actions/upload-artifact@v4
77
77
with :
@@ -80,11 +80,10 @@ jobs:
80
80
async_testing/reports/
81
81
async_testing/profiles/
82
82
retention-days : 30
83
-
83
+
84
84
- name : 📈 Performance regression check
85
85
run : |
86
86
python async_testing/check_regression.py \
87
87
--current async_testing/profiles/latest.prof \
88
88
--baseline async_testing/profiles/baseline.prof \
89
89
--threshold 20 # 20% regression threshold
90
-
Original file line number Diff line number Diff line change @@ -4,20 +4,20 @@ async_linting:
4
4
mypy_config :
5
5
warn_unused_coroutine : true
6
6
strict : true
7
-
7
+
8
8
profiling :
9
9
output_dir : " async_testing/profiles"
10
10
snakeviz_port : 8080
11
11
profile_scenarios :
12
- - " websocket_stress_test"
12
+ - " websocket_stress_test"
13
13
- " database_query_performance"
14
14
- " concurrent_mcp_calls"
15
-
15
+
16
16
monitoring :
17
17
aiomonitor_port : 50101
18
18
debug_mode : true
19
19
task_tracking : true
20
-
20
+
21
21
performance_thresholds :
22
22
websocket_connection : 100 # ms
23
23
database_query : 50 # ms
You can’t perform that action at this time.
0 commit comments