Migrate Skyvern to uv from poetry (#3554)
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> Co-authored-by: stas <stas@skyvern.com>
This commit is contained in:
committed by
GitHub
parent
878ef36a36
commit
d61179e132
23
.github/workflows/codeflash.yaml
vendored
23
.github/workflows/codeflash.yaml
vendored
@@ -22,22 +22,23 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: Install Project Dependencies
|
||||
- name: Install uv
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install poetry
|
||||
poetry install --all-extras
|
||||
poetry add codeflash
|
||||
- name: create test dir
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
- name: Sync project dependencies
|
||||
run: |
|
||||
mkdir -p codeflash-tests
|
||||
uv sync --group dev
|
||||
- name: Install Codeflash into venv
|
||||
run: |
|
||||
uv pip install codeflash
|
||||
- name: Create test dir
|
||||
run: mkdir -p codeflash-tests
|
||||
- name: Run Codeflash to optimize code
|
||||
run: |
|
||||
poetry env use python
|
||||
poetry run codeflash
|
||||
run: uv run codeflash
|
||||
- name: remove test dir
|
||||
run: |-
|
||||
rm -rf codeflash-tests
|
||||
|
||||
Reference in New Issue
Block a user