Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

performance-tests:
name: Run the performance test suite
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

services:
postgres:
Expand Down Expand Up @@ -148,12 +148,11 @@ jobs:
--project objects-ed2ce35-z71n5gf8t4f40 \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch master \
--testbed ubuntu-latest \
--testbed ubuntu-24.04 \
--average median \
--start-point-reset \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
--file output.json \
"pytest performance_test/tests/ --benchmark-json output.json"
"pytest performance_test/tests/ --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-json output.json"

- name: Run tests for other branches
if: github.ref != 'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')
Expand All @@ -163,17 +162,15 @@ jobs:
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch "$GITHUB_HEAD_REF" \
--start-point "$GITHUB_BASE_REF" \
--start-point-reset \
--start-point-max-versions 1 \
--average median \
--threshold-measure latency \
--threshold-test percentage \
--threshold-upper-boundary 0.05 \
--thresholds-reset \
--testbed ubuntu-latest \
--testbed ubuntu-24.04 \
--github-actions '${{ secrets.GITHUB_TOKEN }}' \
--file output.json \
"pytest performance_test/tests/ --benchmark-json output.json"
"pytest performance_test/tests/ --benchmark-warmup=on --benchmark-warmup-iterations=5 --benchmark-json output.json"

docs:
runs-on: ubuntu-latest
Expand Down
Loading