Skip to content

Commit d12b152

Browse files
committed
Update codeflash.yml
1 parent 571be4e commit d12b152

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/codeflash.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,5 @@ jobs:
3030
deno-version: v2.x
3131
- name: 📦 Install Dependencies
3232
run: uv sync --frozen --all-extras --all-packages --group lint --group docs
33-
- name: Functions to Optimize
34-
id: discover_step
35-
run: |
36-
uv run python -c "
37-
from codeflash.cli_cmds.cli import parse_args, process_pyproject_config
38-
from codeflash.verification.verification_utils import TestConfig
39-
from codeflash.discovery.functions_to_optimize import get_functions_to_optimize
40-
import os
41-
args = process_pyproject_config(parse_args())
42-
t = TestConfig(tests_root=args.tests_root, tests_project_rootdir=args.test_project_root, project_root_path=args.project_root, test_framework=args.test_framework, pytest_cmd=args.pytest_cmd,)
43-
f = get_functions_to_optimize(test_cfg=t, ignore_paths=args.ignore_paths, project_root=args.project_root, module_root=args.module_root,optimize_all=None, replay_test=None, file=None, only_get_this_function=None)
44-
functions = ' '.join([fto.function_name for ftol in f[0].values() for fto in ftol])
45-
open(os.environ.get('GITHUB_OUTPUT'), 'a').write(f'functions_to_optimize={functions}')
46-
"
4733
- name: ⚡️Codeflash Optimization
48-
run: uv run codeflash optimize --only-functions ${{ steps.discover_step.outputs.functions_to_optimize }} -m pytest --inline-snapshot=disable tests/test_examples.py
34+
run: uv run codeflash --benchmark

0 commit comments

Comments
 (0)