Skip to content

Commit 30200e7

Browse files
[ci] Disable the benchmarks everywhere except the benchmark job (#10414)
We're never checking the benchmark result either, but we need to add a comment like the primer if we really want to use the result from the benchmark job. (I don't know why the default is not 'no benchmark' each pytest call is taking longer because of this locally).
1 parent 59b01f2 commit 30200e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/checks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
run: |
150150
. venv/bin/activate
151151
pip install . --no-deps
152-
pytest tests/ -k unittest_spelling
152+
pytest tests/ -k unittest_spelling --benchmark-disable
153153
154154
documentation:
155155
name: documentation

.github/workflows/primer-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,4 +95,4 @@ jobs:
9595
run: |
9696
. venv/bin/activate
9797
pip install . --no-deps
98-
pytest -m primer_stdlib --primer-stdlib -n auto -vv
98+
pytest -m primer_stdlib --primer-stdlib -n auto -vv --benchmark-disable

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
run: |
8787
. venv/bin/activate
8888
pip list | grep 'astroid\|pylint'
89-
python -m pytest -vv --minimal-messages-config tests/test_functional.py
89+
python -m pytest -vv --minimal-messages-config tests/test_functional.py --benchmark-disable
9090
- name: Upload coverage artifact
9191
if: runner.os == 'Linux'
9292
uses: actions/[email protected]

0 commit comments

Comments
 (0)