diff --git a/.github/workflows/_test.yml b/.github/workflows/_test.yml index 598abd3f9..4b3577d65 100644 --- a/.github/workflows/_test.yml +++ b/.github/workflows/_test.yml @@ -46,16 +46,6 @@ jobs: working-directory: ${{ inputs.working-directory }} run: make test - - name: Install min version of deps - shell: bash - working-directory: ${{ inputs.working-directory }} - run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall - - - name: Run tests with min version of deps - shell: bash - run: make test - working-directory: ${{ inputs.working-directory }} - - name: Ensure the tests did not create any additional files shell: bash working-directory: ${{ inputs.working-directory }} @@ -68,3 +58,14 @@ jobs: # grep will exit non-zero if the target message isn't found, # and `set -e` above will cause the step to fail. echo "$STATUS" | grep 'nothing to commit, working tree clean' + + - name: Install min version of deps + shell: bash + working-directory: ${{ inputs.working-directory }} + run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall + + - name: Run tests with min version of deps + shell: bash + working-directory: ${{ inputs.working-directory }} + run: make test + diff --git a/.github/workflows/_test_langgraph.yml b/.github/workflows/_test_langgraph.yml index 087f940ab..9942e3864 100644 --- a/.github/workflows/_test_langgraph.yml +++ b/.github/workflows/_test_langgraph.yml @@ -42,14 +42,6 @@ jobs: shell: bash run: make test_parallel - - name: Install min version of deps - shell: bash - run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall - - - name: Run tests with min version of deps - shell: bash - run: make test_parallel - - name: Ensure the tests did not create any additional files shell: bash run: | @@ -61,3 +53,11 @@ jobs: # grep will exit non-zero if the target message isn't found, # and `set -e` above will cause the step to fail. echo "$STATUS" | grep 'nothing to commit, working tree clean' + + - name: Install min version of deps + shell: bash + run: uv sync --all-extras --resolution lowest-direct --no-sources --force-reinstall + + - name: Run tests with min version of deps + shell: bash + run: make test_parallel diff --git a/libs/checkpoint-sqlite/pyproject.toml b/libs/checkpoint-sqlite/pyproject.toml index b416a0aa9..3164e440e 100644 --- a/libs/checkpoint-sqlite/pyproject.toml +++ b/libs/checkpoint-sqlite/pyproject.toml @@ -24,7 +24,7 @@ Repository = "https://www.github.com/langchain-ai/langgraph" dev = [ "ruff>=0.12.0", "codespell", - "pytest", + "pytest>=8.0.0", "pytest-asyncio", "pytest-mock", "pytest-watcher",