File tree Expand file tree Collapse file tree 15 files changed +2241
-2831
lines changed Expand file tree Collapse file tree 15 files changed +2241
-2831
lines changed Original file line number Diff line number Diff line change 3535
3636 - name : 📦 Install dependencies (CLI)
3737 run : |
38- uv tool install poetry
39- uv venv
40- source .venv/bin/activate
41- poetry install --with dev
38+ uv sync
4239
4340 - name : ⚡️Codeflash Optimization
4441 id : optimize_code
4542 run : |
46- source .venv/bin/activate
47- poetry run codeflash --benchmark
43+ uv run codeflash --benchmark
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
6261
6362 - name : Install dependencies (CLI)
6463 run : |
65- uv tool install poetry
66- uv venv
67- source .venv/bin/activate
68- poetry install --with dev
69-
64+ uv sync
7065 - name : Run Codeflash to optimize code
7166 id : optimize_code_with_benchmarks
7267 run : |
73- source .venv/bin/activate
74- poetry run python tests/scripts/end_to_end_test_benchmark_sort.py
68+ uv run python tests/scripts/end_to_end_test_benchmark_sort.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
6160
6261 - name : Install dependencies (CLI)
6362 run : |
64- uv tool install poetry
65- uv venv
66- source .venv/bin/activate
67- poetry install --with dev
68-
63+ uv sync
64+
6965 - name : Remove .git
7066 run : |
7167 if [ -d ".git" ]; then
8581 - name : Run Codeflash to optimize code
8682 id : optimize_code
8783 run : |
88- source .venv/bin/activate
89- poetry run python tests/scripts/end_to_end_test_bubblesort_pytest.py
84+ uv run python tests/scripts/end_to_end_test_bubblesort_pytest.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
6160
6261 - name : Install dependencies (CLI)
6362 run : |
64- uv tool install poetry
65- uv venv
66- source .venv/bin/activate
67- poetry install --with dev
63+ uv sync
6864
6965 - name : Run Codeflash to optimize code
7066 id : optimize_code
7167 run : |
72- source .venv/bin/activate
73- poetry run python tests/scripts/end_to_end_test_bubblesort_unittest.py
68+ uv run python tests/scripts/end_to_end_test_bubblesort_unittest.py
Original file line number Diff line number Diff line change 11name : Coverage E2E
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
@@ -59,14 +58,10 @@ jobs:
5958
6059 - name : Install dependencies (CLI)
6160 run : |
62- uv tool install poetry
63- uv venv
64- source .venv/bin/activate
65- poetry install --with dev
66- poetry add black # my-best-repo in end_to_end_test_coverage.py is configured to use black
61+ uv sync
62+ uv add black # my-best-repo in end_to_end_test_coverage.py is configured to use black
6763
6864 - name : Run Codeflash to optimize code
6965 id : optimize_code
7066 run : |
71- source .venv/bin/activate
72- poetry run python tests/scripts/end_to_end_test_coverage.py
67+ uv run python tests/scripts/end_to_end_test_coverage.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
6160
6261 - name : Install dependencies (CLI)
6362 run : |
64- uv tool install poetry
65- uv venv
66- source .venv/bin/activate
67- poetry install --with dev
63+ uv sync
6864
6965 - name : Run Codeflash to optimize code
7066 id : optimize_code
7167 run : |
72- source .venv/bin/activate
73- poetry run python tests/scripts/end_to_end_test_futurehouse.py
68+ uv run python tests/scripts/end_to_end_test_futurehouse.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87 workflow_dispatch :
6059
6160 - name : Install dependencies (CLI)
6261 run : |
63- uv tool install poetry
64- uv venv
65- source .venv/bin/activate
66- poetry install --with dev
62+ uv sync
6763
6864 - name : Run Codeflash to optimize code
6965 id : optimize_code
7066 run : |
71- source .venv/bin/activate
72- poetry run python tests/scripts/end_to_end_test_init_optimization.py
67+ uv run python tests/scripts/end_to_end_test_init_optimization.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87 workflow_dispatch :
6160
6261 - name : Install dependencies (CLI)
6362 run : |
64- uv tool install poetry
65- uv venv
66- source .venv/bin/activate
67- poetry install --with dev
63+ uv sync
6864
6965 - name : Run Codeflash to optimize code
7066 id : optimize_code
7167 run : |
72- source .venv/bin/activate
73- poetry run python tests/scripts/end_to_end_test_tracer_replay.py
68+ uv run python tests/scripts/end_to_end_test_tracer_replay.py
Original file line number Diff line number Diff line change 11name : end-to-end-test
22
33on :
4- # Use pull_request_target for everything to ensure access to secrets
5- pull_request_target :
4+ pull_request :
65 paths :
76 - ' **' # Trigger for all paths
87
8685
8786 - name : Install dependencies (CLI)
8887 run : |
89- uv tool install poetry
90- uv venv
91- source .venv/bin/activate
92- poetry install --with dev
88+ uv sync
9389
9490 - name : Run Codeflash to optimize code
9591 id : optimize_code
9692 run : |
97- source .venv/bin/activate
98- poetry run python tests/scripts/end_to_end_test_topological_sort.py
93+ uv run python tests/scripts/end_to_end_test_topological_sort.py
Original file line number Diff line number Diff line change @@ -21,11 +21,10 @@ jobs:
2121 with :
2222 version : " 0.5.30"
2323
24- - name : install poetry as a tool
25- run : uv tool install poetry
24+ - name : sync uv
25+ run : |
26+ uv sync
2627
27- - name : install dependencies
28- run : uvx poetry install --with dev
2928
3029 - name : Run mypy on allowlist
31- run : uvx poetry run mypy --non-interactive --config-file pyproject.toml @mypy_allowlist.txt
30+ run : uv run mypy --non-interactive --config-file pyproject.toml @mypy_allowlist.txt
You can’t perform that action at this time.
0 commit comments