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 35
35
36
36
- name : 📦 Install dependencies (CLI)
37
37
run : |
38
- uv tool install poetry
39
- uv venv
40
- source .venv/bin/activate
41
- poetry install --with dev
38
+ uv sync
42
39
43
40
- name : ⚡️Codeflash Optimization
44
41
id : optimize_code
45
42
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
62
61
63
62
- name : Install dependencies (CLI)
64
63
run : |
65
- uv tool install poetry
66
- uv venv
67
- source .venv/bin/activate
68
- poetry install --with dev
69
-
64
+ uv sync
70
65
- name : Run Codeflash to optimize code
71
66
id : optimize_code_with_benchmarks
72
67
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
61
60
62
61
- name : Install dependencies (CLI)
63
62
run : |
64
- uv tool install poetry
65
- uv venv
66
- source .venv/bin/activate
67
- poetry install --with dev
68
-
63
+ uv sync
64
+
69
65
- name : Remove .git
70
66
run : |
71
67
if [ -d ".git" ]; then
85
81
- name : Run Codeflash to optimize code
86
82
id : optimize_code
87
83
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
61
60
62
61
- name : Install dependencies (CLI)
63
62
run : |
64
- uv tool install poetry
65
- uv venv
66
- source .venv/bin/activate
67
- poetry install --with dev
63
+ uv sync
68
64
69
65
- name : Run Codeflash to optimize code
70
66
id : optimize_code
71
67
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 1
1
name : Coverage E2E
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
@@ -59,14 +58,10 @@ jobs:
59
58
60
59
- name : Install dependencies (CLI)
61
60
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
67
63
68
64
- name : Run Codeflash to optimize code
69
65
id : optimize_code
70
66
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
61
60
62
61
- name : Install dependencies (CLI)
63
62
run : |
64
- uv tool install poetry
65
- uv venv
66
- source .venv/bin/activate
67
- poetry install --with dev
63
+ uv sync
68
64
69
65
- name : Run Codeflash to optimize code
70
66
id : optimize_code
71
67
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
workflow_dispatch :
60
59
61
60
- name : Install dependencies (CLI)
62
61
run : |
63
- uv tool install poetry
64
- uv venv
65
- source .venv/bin/activate
66
- poetry install --with dev
62
+ uv sync
67
63
68
64
- name : Run Codeflash to optimize code
69
65
id : optimize_code
70
66
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
workflow_dispatch :
61
60
62
61
- name : Install dependencies (CLI)
63
62
run : |
64
- uv tool install poetry
65
- uv venv
66
- source .venv/bin/activate
67
- poetry install --with dev
63
+ uv sync
68
64
69
65
- name : Run Codeflash to optimize code
70
66
id : optimize_code
71
67
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 1
1
name : end-to-end-test
2
2
3
3
on :
4
- # Use pull_request_target for everything to ensure access to secrets
5
- pull_request_target :
4
+ pull_request :
6
5
paths :
7
6
- ' **' # Trigger for all paths
8
7
86
85
87
86
- name : Install dependencies (CLI)
88
87
run : |
89
- uv tool install poetry
90
- uv venv
91
- source .venv/bin/activate
92
- poetry install --with dev
88
+ uv sync
93
89
94
90
- name : Run Codeflash to optimize code
95
91
id : optimize_code
96
92
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:
21
21
with :
22
22
version : " 0.5.30"
23
23
24
- - name : install poetry as a tool
25
- run : uv tool install poetry
24
+ - name : sync uv
25
+ run : |
26
+ uv sync
26
27
27
- - name : install dependencies
28
- run : uvx poetry install --with dev
29
28
30
29
- 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