mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 10:41:04 +00:00
add tests dir needed for codeflash (#1957)
This commit is contained in:
parent
7e50e49d45
commit
c666eb9745
2 changed files with 7 additions and 2 deletions
7
.github/workflows/codeflash.yaml
vendored
7
.github/workflows/codeflash.yaml
vendored
|
@ -36,8 +36,13 @@ jobs:
|
||||||
pip install poetry
|
pip install poetry
|
||||||
poetry install --all-extras
|
poetry install --all-extras
|
||||||
poetry add codeflash
|
poetry add codeflash
|
||||||
|
- name: create test dir
|
||||||
|
run: |
|
||||||
|
mkdir -p codeflash-tests
|
||||||
- name: Run Codeflash to optimize code
|
- name: Run Codeflash to optimize code
|
||||||
run: |
|
run: |
|
||||||
poetry env use python
|
poetry env use python
|
||||||
poetry run codeflash
|
poetry run codeflash
|
||||||
|
- name: remove test dir
|
||||||
|
run: |
|
||||||
|
rm -rf codeflash-tests
|
|
@ -139,7 +139,7 @@ skyvern = "skyvern.cli.commands:app"
|
||||||
[tool.codeflash]
|
[tool.codeflash]
|
||||||
# All paths are relative to this pyproject.toml's directory.
|
# All paths are relative to this pyproject.toml's directory.
|
||||||
module-root = "skyvern"
|
module-root = "skyvern"
|
||||||
tests-root = "tests"
|
tests-root = "codeflash-tests"
|
||||||
test-framework = "pytest"
|
test-framework = "pytest"
|
||||||
ignore-paths = ["skyvern/client"]
|
ignore-paths = ["skyvern/client"]
|
||||||
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
|
formatter-cmds = ["ruff check --exit-zero --fix $file", "ruff format $file"]
|
Loading…
Add table
Reference in a new issue