Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci[patch]: Set concurrency to 1 for unit tests ci #4310

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Test
run: yarn run test:unit --filter=langchain
run: yarn run test:unit --filter=langchain --concurrency=1
# run: yarn run test:unit -- --coverage
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Test
run: yarn run test:unit --filter=@langchain/core
run: yarn run test:unit --filter=@langchain/core --concurrency=1
# run: yarn run test:unit -- --coverage
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Test
run: yarn run test:unit --filter=@langchain/community
run: yarn run test:unit --filter=@langchain/community --concurrency=1
# run: yarn run test:unit -- --coverage
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable
- name: Test
run: yarn run test:unit --filter=!@langchain/community --filter=!@langchain/core --filter=!langchain
run: yarn run test:unit --filter=!@langchain/community --filter=!@langchain/core --filter=!langchain --concurrency=1
# run: yarn run test:unit -- --coverage
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test("Test ConstitutionalChain", async () => {
],
});

const res = await constitutionalChain.call({
const res = await constitutionalChain.invoke({
question: "What is the meaning of life?",
});
console.log({ res });
Expand Down
Loading