File tree Expand file tree Collapse file tree 6 files changed +23
-302
lines changed
Expand file tree Collapse file tree 6 files changed +23
-302
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 - ' .github/workflows/tests-performance.yml'
1818
1919jobs :
20- test :
20+ test1 :
2121 runs-on : tools-gha-runners
22+ container :
23+ options : --cpus 1
2224 timeout-minutes : 30
2325 steps :
2426 - name : Checkout repository
2527 uses : actions/checkout@v4
2628
27- - name : Install Python
28- uses : actions/setup-python@v5
29+ - name : Set up Python
30+ uses : actions/setup-python@v4
2931 with :
30- python-version : " 3.10 "
32+ python-version : ' 3.11 '
3133
32- - name : Install dependencies
34+ - name : Run test
3335 run : |
34- python -m pip install --upgrade pip &&
35- pip install -r dev_requirements.txt
36+ python3 -c "for _ in range(50_000_000): a = 1"
3637
37- - name : Run performance tests
38- run : |
39- pytest --junitxml="test-results/test-performance.xml" tests/performance
38+ test2 :
39+ runs-on : tools-gha-runners
40+ container :
41+ options : --cpus .1
42+ timeout-minutes : 30
43+ steps :
44+ - name : Checkout repository
45+ uses : actions/checkout@v4
4046
41- - name : Report
42- uses : mikepenz/action-junit-report@v5
43- if : always()
47+ - name : Set up Python
48+ uses : actions/setup-python@v4
4449 with :
45- report_paths : " ./test-results/test-performance*.xml"
46- update_check : true
47- annotate_notice : true
48- job_name : " Performance tests"
50+ python-version : ' 3.11'
51+
52+ - name : Run test
53+ run : |
54+ python3 -c "for _ in range(50_000_000): a = 1"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments