This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch xuanwo/columbia
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit e700e4c48093cf4745f05ff271d98ea6b61ad911
Author: Xuanwo <[email protected]>
AuthorDate: Fri Dec 19 00:57:42 2025 +0800

    ci: Split unit and doc tests
---
 .github/workflows/ci_core.yml | 44 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/.github/workflows/ci_core.yml b/.github/workflows/ci_core.yml
index 99262d0b7..68b3f8882 100644
--- a/.github/workflows/ci_core.yml
+++ b/.github/workflows/ci_core.yml
@@ -282,6 +282,50 @@ jobs:
         working-directory: core
         run: |
           cargo nextest run --workspace --no-fail-fast --all-features
+        env:
+          # Add rocksdb and java lib path to LD_LIBRARY_PATH
+          LD_LIBRARY_PATH: /tmp/rocksdb/lib:${{ env.JAVA_HOME 
}}/lib/server:${{ env.LD_LIBRARY_PATH }}
+
+  doc-test:
+    runs-on: ubuntu-latest
+    steps:
+      - name: cleanup
+        run: |
+          sudo rm -rf \
+            /usr/share/dotnet \
+            /usr/local/lib/android \
+            /opt/ghc \
+            /opt/hostedtoolcache/CodeQL \
+            /usr/local/share/chromium \
+            /opt/microsoft \
+            /opt/google \
+            /usr/lib/firefox
+
+          sudo docker image prune --all --force
+          sudo docker builder prune -a
+      - uses: actions/checkout@v5
+      - name: Checkout python env
+        uses: actions/setup-python@v6
+        with:
+          python-version: "3.11"
+      - name: Checkout java env
+        uses: actions/setup-java@v5
+        with:
+          distribution: temurin
+          java-version: "11"
+
+      - name: Setup Rust toolchain
+        uses: ./.github/actions/setup
+        with:
+          need-protoc: true
+          need-rocksdb: true
+          need-foundationdb: true
+          need-nextest: true
+          github-token: ${{ secrets.GITHUB_TOKEN }}
+
+      - name: Test
+        working-directory: core
+        run: |
           cargo test --workspace --doc --all-features
         env:
           # Add rocksdb and java lib path to LD_LIBRARY_PATH

Reply via email to