forked from phoenix/litellm-mirror
ci(config.yml): run linting test first
This commit is contained in:
parent
44a344e125
commit
d34d6e0277
1 changed files with 9 additions and 9 deletions
|
@ -7,15 +7,6 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
|
||||||
name: Check if litellm dir was updated or if pyproject.toml was modified
|
|
||||||
command: |
|
|
||||||
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then
|
|
||||||
echo "litellm updated"
|
|
||||||
else
|
|
||||||
echo "No changes to litellm or pyproject.toml. Skipping tests."
|
|
||||||
circleci step halt
|
|
||||||
fi
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
- v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
- v1-dependencies-{{ checksum ".circleci/requirements.txt" }}
|
||||||
|
@ -71,6 +62,15 @@ jobs:
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
|
- run:
|
||||||
|
name: Check if litellm dir was updated or if pyproject.toml was modified
|
||||||
|
command: |
|
||||||
|
if [ -n "$(git diff --name-only $CIRCLE_SHA1^..$CIRCLE_SHA1 | grep -E 'pyproject\.toml|litellm/')" ]; then
|
||||||
|
echo "litellm updated"
|
||||||
|
else
|
||||||
|
echo "No changes to litellm or pyproject.toml. Skipping tests."
|
||||||
|
circleci step halt
|
||||||
|
fi
|
||||||
- run:
|
- run:
|
||||||
name: Run prisma ./entrypoint.sh
|
name: Run prisma ./entrypoint.sh
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue