mirror of
https://github.com/hwchase17/langchain.git
synced 2025-10-06 21:00:01 +00:00
run unit tests only after checking for prerelease version
This commit is contained in:
8
.github/workflows/_release.yml
vendored
8
.github/workflows/_release.yml
vendored
@@ -294,10 +294,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VIRTUAL_ENV=.venv uv pip install dist/*.whl
|
VIRTUAL_ENV=.venv uv pip install dist/*.whl
|
||||||
|
|
||||||
- name: Run unit tests
|
|
||||||
run: make tests
|
|
||||||
working-directory: ${{ inputs.working-directory }}
|
|
||||||
|
|
||||||
- name: Check for prerelease versions
|
- name: Check for prerelease versions
|
||||||
# Block release if any dependencies allow prerelease versions
|
# Block release if any dependencies allow prerelease versions
|
||||||
# (unless this is itself a prerelease version)
|
# (unless this is itself a prerelease version)
|
||||||
@@ -305,6 +301,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
uv run python $GITHUB_WORKSPACE/.github/scripts/check_prerelease_dependencies.py pyproject.toml
|
uv run python $GITHUB_WORKSPACE/.github/scripts/check_prerelease_dependencies.py pyproject.toml
|
||||||
|
|
||||||
|
- name: Run unit tests
|
||||||
|
run: make tests
|
||||||
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
|
||||||
- name: Get minimum versions
|
- name: Get minimum versions
|
||||||
# Find the minimum published versions that satisfies the given constraints
|
# Find the minimum published versions that satisfies the given constraints
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
Reference in New Issue
Block a user