mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 17:57:49 +02:00
cli: Reduce to test and build commands (#838)
* cli: Reduce to test and build commands * Bump timeout * Fix test? * Fix * Fix output
This commit is contained in:
@@ -30,7 +30,6 @@ jobs:
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
poetry-version: ${{ env.POETRY_VERSION }}
|
||||
working-directory: libs/cli
|
||||
cache-key: integration-test-cli
|
||||
- name: Setup env
|
||||
if: steps.changed-files.outputs.all
|
||||
@@ -42,42 +41,19 @@ jobs:
|
||||
- name: Start service A
|
||||
if: steps.changed-files.outputs.all
|
||||
run: |
|
||||
langgraph up -c examples/langgraph.json --wait --verbose
|
||||
- name: Stop service A
|
||||
if: steps.changed-files.outputs.all
|
||||
run: |
|
||||
langgraph down -c examples/langgraph.json
|
||||
sudo rm -rf .langgraph-data
|
||||
timeout 60 langgraph test -c examples/langgraph.json --verbose || (exit "$(($? == 124 ? 0 : $?))")
|
||||
- name: Start service B
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs
|
||||
run: |
|
||||
langgraph up --wait --verbose
|
||||
- name: Stop service B
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs
|
||||
run: |
|
||||
langgraph down
|
||||
sudo rm -rf .langgraph-data
|
||||
timeout 60 langgraph test --verbose || (exit "$(($? == 124 ? 0 : $?))")
|
||||
- name: Start service C
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs_reqs_a
|
||||
run: |
|
||||
langgraph up --wait -d compose.yml --verbose
|
||||
- name: Stop service C
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs_reqs_a
|
||||
run: |
|
||||
langgraph down
|
||||
sudo rm -rf .langgraph-data
|
||||
timeout 60 langgraph test --verbose || (exit "$(($? == 124 ? 0 : $?))")
|
||||
- name: Start service D
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs_reqs_b
|
||||
run: |
|
||||
langgraph up --wait -d compose.yml --verbose
|
||||
- name: Stop service D
|
||||
if: steps.changed-files.outputs.all
|
||||
working-directory: libs/cli/examples/graphs_reqs_b
|
||||
run: |
|
||||
langgraph down
|
||||
sudo rm -rf .langgraph-data
|
||||
timeout 60 langgraph test --verbose || (exit "$(($? == 124 ? 0 : $?))")
|
||||
|
||||
Reference in New Issue
Block a user