You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/12/18 16:57:59 UTC
(opendal) branch xuanwo/columbia created (now e700e4c48)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch xuanwo/columbia
in repository https://gitbox.apache.org/repos/asf/opendal.git
at e700e4c48 ci: Split unit and doc tests
This branch includes the following new commits:
new e700e4c48 ci: Split unit and doc tests
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: ci: Split unit and doc tests
Posted by xu...@apache.org.
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 <gi...@xuanwo.io>
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