mirror of
https://github.com/hwchase17/langchain
synced 2024-11-18 09:25:54 +00:00
infra: add integration deps to partner lint (#17122)
This commit is contained in:
parent
14ff1438e6
commit
3ccffa5dcc
8
.github/workflows/_lint.yml
vendored
8
.github/workflows/_lint.yml
vendored
@ -94,7 +94,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make lint_package
|
make lint_package
|
||||||
|
|
||||||
- name: Install test dependencies
|
- name: Install unit test dependencies
|
||||||
# Also installs dev/lint/test/typing dependencies, to ensure we have
|
# Also installs dev/lint/test/typing dependencies, to ensure we have
|
||||||
# type hints for as many of our libraries as possible.
|
# type hints for as many of our libraries as possible.
|
||||||
# This helps catch errors that require dependencies to be spotted, for example:
|
# This helps catch errors that require dependencies to be spotted, for example:
|
||||||
@ -103,9 +103,15 @@ jobs:
|
|||||||
# If you change this configuration, make sure to change the `cache-key`
|
# If you change this configuration, make sure to change the `cache-key`
|
||||||
# in the `poetry_setup` action above to stop using the old cache.
|
# in the `poetry_setup` action above to stop using the old cache.
|
||||||
# It doesn't matter how you change it, any change will cause a cache-bust.
|
# It doesn't matter how you change it, any change will cause a cache-bust.
|
||||||
|
if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }}
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
run: |
|
run: |
|
||||||
poetry install --with test
|
poetry install --with test
|
||||||
|
- name: Install unit+integration test dependencies
|
||||||
|
if: ${{ startsWith(inputs.working-directory, 'libs/partners/') }}
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
run: |
|
||||||
|
poetry install --with test,test_integration
|
||||||
|
|
||||||
- name: Get .mypy_cache_test to speed up mypy
|
- name: Get .mypy_cache_test to speed up mypy
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user