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

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 265a1b6  docs: build Python docs inside container (#239)
265a1b6 is described below

commit 265a1b6a8a149c15793ad3794e1b82054c72d6e0
Author: David Li <[email protected]>
AuthorDate: Tue Dec 13 13:20:32 2022 -0500

    docs: build Python docs inside container (#239)
---
 .github/workflows/cpp.yml | 8 ++++++++
 docker-compose.yml        | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/cpp.yml b/.github/workflows/cpp.yml
index 2a080bd..ed16754 100644
--- a/.github/workflows/cpp.yml
+++ b/.github/workflows/cpp.yml
@@ -136,6 +136,14 @@ jobs:
         shell: bash -l {0}
         run: |
           env BUILD_ALL=0 BUILD_DRIVER_POSTGRESQL=1 
./ci/scripts/python_test.sh "$(pwd)" "$(pwd)/build" "$HOME/local"
+      - name: Build Python Driver SQLite
+        shell: bash -l {0}
+        run: |
+          env BUILD_ALL=0 BUILD_DRIVER_SQLITE=1 ./ci/scripts/python_build.sh 
"$(pwd)" "$(pwd)/build" "$HOME/local"
+      - name: Test Python Driver SQLite
+        shell: bash -l {0}
+        run: |
+          env BUILD_ALL=0 BUILD_DRIVER_SQLITE=1 ./ci/scripts/python_test.sh 
"$(pwd)" "$(pwd)/build" "$HOME/local"
 
       - name: Build GLib Driver Manager
         shell: bash -l {0}
diff --git a/docker-compose.yml b/docker-compose.yml
index b789300..0efde08 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -28,7 +28,7 @@ services:
     volumes:
       - .:/adbc:delegated
     command: |
-      /bin/bash -c 'source /opt/conda/etc/profile.d/conda.sh && mamba create 
-y -n adbc -c conda-forge --file /adbc/ci/conda_env_cpp.txt --file 
/adbc/ci/conda_env_docs.txt --file /adbc/ci/conda_env_python.txt && conda 
activate adbc && /adbc/ci/scripts/docs_build.sh /adbc'
+      /bin/bash -c 'git config --global --add safe.directory /adbc && source 
/opt/conda/etc/profile.d/conda.sh && mamba create -y -n adbc -c conda-forge 
--file /adbc/ci/conda_env_cpp.txt --file /adbc/ci/conda_env_docs.txt --file 
/adbc/ci/conda_env_python.txt && conda activate adbc && env ADBC_USE_ASAN=0 
ADBC_USE_UBSAN=0 /adbc/ci/scripts/cpp_build.sh /adbc /adbc/build && 
/adbc/ci/scripts/python_build.sh /adbc /adbc/build && 
/adbc/ci/scripts/docs_build.sh /adbc'
 
   ############################ Java JARs ######################################
 

Reply via email to