6767
6868 - name : Install activerecord and testsuite
6969 run : |
70- pip install rhosocial-activerecord==1. 0.0.dev27
71- pip install rhosocial-activerecord-testsuite==1. 0.0.dev14
70+ pip install git+https://github.com/ rhosocial/python -activerecord.git@release/v1. 0.0.dev28#egg=rhosocial-activerecord
71+ pip install git+https://github.com/ rhosocial/python -activerecord-testsuite.git@release/v1. 0.0.dev15#egg=rhosocial-activerecord-testsuite
7272
7373 - name : Create postgres scenario config
7474 run : |
@@ -121,21 +121,39 @@ jobs:
121121 python -m pytest \
122122 --rootdir=. \
123123 --confcutdir=. \
124- "$TESTSUITE_DIR/benchmark/crud" \
124+ "$TESTSUITE_DIR/benchmark/crud/test_delete_async.py" \
125+ "$TESTSUITE_DIR/benchmark/crud/test_delete_sync.py" \
126+ "$TESTSUITE_DIR/benchmark/crud/test_insert_async.py" \
127+ "$TESTSUITE_DIR/benchmark/crud/test_insert_sync.py" \
128+ "$TESTSUITE_DIR/benchmark/crud/test_query_async.py" \
129+ "$TESTSUITE_DIR/benchmark/crud/test_query_sync.py" \
130+ "$TESTSUITE_DIR/benchmark/crud/test_update_async.py" \
131+ "$TESTSUITE_DIR/benchmark/crud/test_update_sync.py" \
125132 "$TESTSUITE_DIR/benchmark/query" \
126133 "$TESTSUITE_DIR/benchmark/transaction" \
127134 "$TESTSUITE_DIR/benchmark/mixin" \
128135 -m benchmark \
129136 --benchmark-size=small \
130137 --benchmark-sort=mean \
138+ --strict-markers \
131139 --tb=short | tee benchmark-output.txt
140+ python -m pytest \
141+ --rootdir=. \
142+ --confcutdir=. \
143+ tests/benchmark/activerecord_bulk \
144+ -m benchmark \
145+ --benchmark-size=small \
146+ --benchmark-sort=mean \
147+ --strict-markers \
148+ --tb=short | tee -a benchmark-output.txt
132149 python -m pytest \
133150 --rootdir=. \
134151 --confcutdir=. \
135152 tests/benchmark/backend \
136153 -m benchmark \
137154 --benchmark-size=small \
138155 --benchmark-sort=mean \
156+ --strict-markers \
139157 --tb=short | tee -a benchmark-output.txt
140158
141159 - name : Run FastAPI benchmark suite
@@ -166,12 +184,16 @@ jobs:
166184 echo
167185 echo "- Python: 3.14"
168186 echo "- postgres: 18"
169- echo "- Scope: testsuite generic benchmarks + PostgreSQL backend direct benchmarks"
187+ echo "- Scope: testsuite generic benchmarks + ActiveRecord bulk benchmarks + PostgreSQL backend direct benchmarks"
170188 echo "- Size: small"
171189 echo "- Result: benchmark job fails only when benchmark execution or correctness checks fail."
172190 echo
173191 echo '```text'
174- grep -A 120 "benchmark:" benchmark-output.txt || cat benchmark-output.txt
192+ if [ -f benchmark-output.txt ]; then
193+ grep -A 120 "benchmark:" benchmark-output.txt || tail -n 200 benchmark-output.txt
194+ else
195+ echo "benchmark-output.txt was not generated."
196+ fi
175197 echo '```'
176198 } >> "$GITHUB_STEP_SUMMARY"
177199
@@ -188,7 +210,11 @@ jobs:
188210 echo "- Result: benchmark job fails only when FastAPI benchmark execution or correctness checks fail."
189211 echo
190212 echo '```text'
191- grep -A 120 "benchmark:" fastapi-benchmark-output.txt || cat fastapi-benchmark-output.txt
213+ if [ -f fastapi-benchmark-output.txt ]; then
214+ grep -A 120 "benchmark:" fastapi-benchmark-output.txt || tail -n 200 fastapi-benchmark-output.txt
215+ else
216+ echo "fastapi-benchmark-output.txt was not generated."
217+ fi
192218 echo '```'
193219 } >> "$GITHUB_STEP_SUMMARY"
194220
@@ -259,8 +285,8 @@ jobs:
259285
260286 - name : Install activerecord and testsuite
261287 run : |
262- pip install rhosocial-activerecord==1. 0.0.dev27
263- pip install rhosocial-activerecord-testsuite==1. 0.0.dev14
288+ pip install git+https://github.com/ rhosocial/python -activerecord.git@release/v1. 0.0.dev28#egg=rhosocial-activerecord
289+ pip install git+https://github.com/ rhosocial/python -activerecord-testsuite.git@release/v1. 0.0.dev15#egg=rhosocial-activerecord-testsuite
264290
265291 - name : Create postgres scenario config
266292 run : |
0 commit comments