mirror of
https://github.com/kennethreitz/langchain.git
synced 2026-06-05 23:00:18 +00:00
Github Action: Fix poetry lock file checking (#4789)
Fix how poetry lock file is checked to avoid skipping caches silently.
This commit is contained in:
@@ -31,9 +31,6 @@ jobs:
|
||||
poetry-version: "1.4.2"
|
||||
cache-key: ${{ matrix.test_type }}
|
||||
install-command: |
|
||||
echo "Check the poetry lock file. If this fails use poetry to " \
|
||||
"update the lock file: `poetry update` or refresh it `poetry lock --no-update`"
|
||||
poetry lock --check
|
||||
if [ "${{ matrix.test_type }}" == "core" ]; then
|
||||
echo "Running core tests, installing dependencies with poetry..."
|
||||
poetry install
|
||||
|
||||
Reference in New Issue
Block a user