From a3761f42099daf52152f433be0dcc74dedc0313c Mon Sep 17 00:00:00 2001 From: Chang She <759245+changhiskhan@users.noreply.github.com> Date: Sun, 3 Mar 2024 15:20:48 -0800 Subject: [PATCH] doc: fix langchain link (#1053) --- .github/workflows/docs_test.yml | 13 ++++++++++--- .github/workflows/python.yml | 4 ++-- docs/src/integrations/index.md | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs_test.yml b/.github/workflows/docs_test.yml index 72d995c6..475fa662 100644 --- a/.github/workflows/docs_test.yml +++ b/.github/workflows/docs_test.yml @@ -24,16 +24,22 @@ env: jobs: test-python: name: Test doc python code - runs-on: "ubuntu-latest" + runs-on: "buildjet-8vcpu-ubuntu-2204" steps: - name: Checkout uses: actions/checkout@v4 + - name: Install dependecies needed for ubuntu + run: | + sudo apt install -y protobuf-compiler libssl-dev + rustup update && rustup default - name: Set up Python uses: actions/setup-python@v5 with: python-version: 3.11 cache: "pip" cache-dependency-path: "docs/test/requirements.txt" + - name: Rust cache + uses: swatinem/rust-cache@v2 - name: Build Python working-directory: docs/test run: @@ -48,8 +54,8 @@ jobs: for d in *; do cd "$d"; echo "$d".py; python "$d".py; cd ..; done test-node: name: Test doc nodejs code - runs-on: "ubuntu-latest" - timeout-minutes: 45 + runs-on: "buildjet-8vcpu-ubuntu-2204" + timeout-minutes: 60 strategy: fail-fast: false steps: @@ -65,6 +71,7 @@ jobs: - name: Install dependecies needed for ubuntu run: | sudo apt install -y protobuf-compiler libssl-dev + rustup update && rustup default - name: Rust cache uses: swatinem/rust-cache@v2 - name: Install node dependencies diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index e4a95569..ef004b40 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -66,7 +66,7 @@ jobs: - name: Install run: | pip install -e .[tests,dev,embeddings] - pip install tantivy@git+https://github.com/quickwit-oss/tantivy-py#164adc87e1a033117001cf70e38c82a53014d985 + pip install tantivy pip install mlx - name: Doctest run: pytest --doctest-modules python/lancedb @@ -188,6 +188,6 @@ jobs: run: | pip install "pydantic<2" pip install -e .[tests] - pip install tantivy@git+https://github.com/quickwit-oss/tantivy-py#164adc87e1a033117001cf70e38c82a53014d985 + pip install tantivy - name: Run tests run: pytest -m "not slow" -x -v --durations=30 python/tests diff --git a/docs/src/integrations/index.md b/docs/src/integrations/index.md index fcd465f9..72b07634 100644 --- a/docs/src/integrations/index.md +++ b/docs/src/integrations/index.md @@ -13,7 +13,7 @@ Get started using these examples and quick links. | Integrations | | |---|---:| |
|
-|
|
+|
|
|
|
|
|
|
|