mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 22:59:05 +00:00
infra: add 20min timeout to ci steps (#28483)
This commit is contained in:
parent
c74f34cb41
commit
a220ee56cd
@ -21,6 +21,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
name: "poetry run pytest -m compile tests/integration_tests #${{ inputs.python-version }}"
|
name: "poetry run pytest -m compile tests/integration_tests #${{ inputs.python-version }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
1
.github/workflows/_lint.yml
vendored
1
.github/workflows/_lint.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
name: "make lint #${{ inputs.python-version }}"
|
name: "make lint #${{ inputs.python-version }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
1
.github/workflows/_release.yml
vendored
1
.github/workflows/_release.yml
vendored
@ -167,6 +167,7 @@ jobs:
|
|||||||
- release-notes
|
- release-notes
|
||||||
- test-pypi-publish
|
- test-pypi-publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
1
.github/workflows/_test.yml
vendored
1
.github/workflows/_test.yml
vendored
@ -21,6 +21,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
name: "make test #${{ inputs.python-version }}"
|
name: "make test #${{ inputs.python-version }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
1
.github/workflows/_test_doc_imports.yml
vendored
1
.github/workflows/_test_doc_imports.yml
vendored
@ -14,6 +14,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
name: "check doc imports #${{ inputs.python-version }}"
|
name: "check doc imports #${{ inputs.python-version }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
1
.github/workflows/_test_pydantic.yml
vendored
1
.github/workflows/_test_pydantic.yml
vendored
@ -26,6 +26,7 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
name: "make test # pydantic: ~=${{ inputs.pydantic-version }}, python: ${{ inputs.python-version }}, "
|
name: "make test # pydantic: ~=${{ inputs.pydantic-version }}, python: ${{ inputs.python-version }}, "
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
1
.github/workflows/check_diffs.yml
vendored
1
.github/workflows/check_diffs.yml
vendored
@ -119,6 +119,7 @@ jobs:
|
|||||||
job-configs: ${{ fromJson(needs.build.outputs.extended-tests) }}
|
job-configs: ${{ fromJson(needs.build.outputs.extended-tests) }}
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ${{ matrix.job-configs.working-directory }}
|
working-directory: ${{ matrix.job-configs.working-directory }}
|
||||||
|
1
.github/workflows/scheduled_test.yml
vendored
1
.github/workflows/scheduled_test.yml
vendored
@ -13,6 +13,7 @@ jobs:
|
|||||||
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
||||||
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}
|
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
Loading…
Reference in New Issue
Block a user