Skip to content

Commit 936f454

Browse files
committed
ci: remove benchmark job
Performance tests can be run locally with 'poe test-perf'
1 parent 61152d7 commit 936f454

File tree

2 files changed

+1
-34
lines changed

2 files changed

+1
-34
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -73,37 +73,3 @@ jobs:
7373
name: coverage-report
7474
path: htmlcov/
7575
retention-days: 30
76-
77-
benchmark:
78-
runs-on: ubuntu-latest
79-
steps:
80-
- name: Checkout code
81-
uses: actions/checkout@v6
82-
83-
- name: Set up Python
84-
uses: actions/setup-python@v6
85-
with:
86-
python-version: "3.12"
87-
88-
- name: Install uv
89-
uses: astral-sh/setup-uv@v7
90-
with:
91-
version: "latest"
92-
93-
- name: Install dependencies
94-
run: uv sync --extra dev
95-
96-
- name: Run performance tests
97-
run: uv run pytest tests/test_performance.py -v --benchmark-only --benchmark-json=benchmark.json
98-
99-
- name: Store benchmark result
100-
uses: benchmark-action/github-action-benchmark@v1
101-
with:
102-
tool: "pytest"
103-
output-file-path: benchmark.json
104-
github-token: ${{ secrets.GITHUB_TOKEN }}
105-
auto-push: ${{ github.ref == 'refs/heads/main' }}
106-
comment-on-alert: true
107-
fail-on-alert: false
108-
alert-threshold: "150%"
109-
comment-always: false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/.serena/
44
/cohn_credentials.json
55
/.benchmarks
6+
/benchmark_*.svg
67

78
# Byte-compiled / optimized / DLL files
89
__pycache__/

0 commit comments

Comments
 (0)