1- name : Performance Tests
2-
3- on :
4- push :
5- branches : [ main, develop ]
6- pull_request :
7- branches : [ main ]
8- workflow_dispatch : # Allow manual runs
9-
10- jobs :
11- performance :
12- runs-on : ubuntu-latest
13- strategy :
14- matrix :
15- python-version : ['3.8', '3.9', '3.10', '3.11']
16-
17- steps :
18- - uses : actions/checkout@v4
19-
20- - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v4
22- with :
23- python-version : ${{ matrix.python-version }}
24-
25- - name : Install dependencies
26- run : |
27- python -m pip install --upgrade pip
28- pip install pytest httpx pytest-asyncio uvicorn
29- pip install -e .
30-
31- - name : Run performance tests
32- run : |
33- python -m pytest tests/test_performance.py -v --tb=short
34-
35- - name : Run performance demo
36- run : |
37- timeout 30s python demo_performance.py || true
38-
39- - name : Generate performance report
40- run : |
41- python run_performance_tests.py || true
42-
43- - name : Upload performance results
44- uses : actions/upload-artifact@v4
45- if : always()
46- with :
47- name : performance-results-py${{ matrix.python-version }}
48- path : |
49- performance_results.json
50- performance_section.md
51- retention-days : 7
1+ # name: Performance Tests
2+
3+ # on:
4+ # push:
5+ # branches: [ main, develop ]
6+ # pull_request:
7+ # branches: [ main ]
8+ # workflow_dispatch: # Allow manual runs
9+
10+ # jobs:
11+ # performance:
12+ # runs-on: ubuntu-latest
13+ # strategy:
14+ # matrix:
15+ # python-version: ['3.8', '3.9', '3.10', '3.11']
16+
17+ # steps:
18+ # - uses: actions/checkout@v4
19+
20+ # - name: Set up Python ${{ matrix.python-version }}
21+ # uses: actions/setup-python@v4
22+ # with:
23+ # python-version: ${{ matrix.python-version }}
24+
25+ # - name: Install dependencies
26+ # run: |
27+ # python -m pip install --upgrade pip
28+ # pip install pytest httpx pytest-asyncio uvicorn
29+ # pip install -e .
30+
31+ # - name: Run performance tests
32+ # run: |
33+ # python -m pytest tests/test_performance.py -v --tb=short
34+
35+ # - name: Run performance demo
36+ # run: |
37+ # timeout 30s python demo_performance.py || true
38+
39+ # - name: Generate performance report
40+ # run: |
41+ # python run_performance_tests.py || true
42+
43+ # - name: Upload performance results
44+ # uses: actions/upload-artifact@v4
45+ # if: always()
46+ # with:
47+ # name: performance-results-py${{ matrix.python-version }}
48+ # path: |
49+ # performance_results.json
50+ # performance_section.md
51+ # retention-days: 7
0 commit comments