You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2023/04/07 20:41:00 UTC

[arrow-rs] branch master updated: Fix object_store CI (#4037)

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

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new ff670c58c Fix object_store CI (#4037)
ff670c58c is described below

commit ff670c58c619f058629d3dadc47e60edbe5b9258
Author: Raphael Taylor-Davies <17...@users.noreply.github.com>
AuthorDate: Fri Apr 7 21:40:53 2023 +0100

    Fix object_store CI (#4037)
---
 .github/workflows/object_store.yml | 29 +++++++++++++++++++----------
 1 file changed, 19 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/object_store.yml b/.github/workflows/object_store.yml
index 8e97c4440..65c78df18 100644
--- a/.github/workflows/object_store.yml
+++ b/.github/workflows/object_store.yml
@@ -39,6 +39,9 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: amd64/rust
+    defaults:
+      run:
+        working-directory: object_store
     steps:
       - uses: actions/checkout@v3
       - name: Setup Rust toolchain
@@ -50,19 +53,19 @@ jobs:
       # features that might be enabled by dev-dependencies of other
       # targets.
       - name: Run clippy with default features
-        run: cargo clippy -p object_store -- -D warnings
+        run: cargo clippy -- -D warnings
       - name: Run clippy with aws feature
-        run: cargo clippy -p object_store --features aws -- -D warnings
+        run: cargo clippy --features aws -- -D warnings
       - name: Run clippy with aws_profile feature
-        run: cargo clippy -p object_store --features aws_profile -- -D warnings
+        run: cargo clippy --features aws_profile -- -D warnings
       - name: Run clippy with gcp feature
-        run: cargo clippy -p object_store --features gcp -- -D warnings
+        run: cargo clippy --features gcp -- -D warnings
       - name: Run clippy with azure feature
-        run: cargo clippy -p object_store --features azure -- -D warnings
+        run: cargo clippy --features azure -- -D warnings
       - name: Run clippy with all features
-        run: cargo clippy -p object_store --all-features -- -D warnings
+        run: cargo clippy --all-features -- -D warnings
       - name: Run clippy with all features and all targets
-        run: cargo clippy -p object_store --all-features --all-targets -- -D warnings
+        run: cargo clippy --all-features --all-targets -- -D warnings
 
   # test the crate
   # This runs outside a container to workaround lack of support for passing arguments
@@ -70,6 +73,9 @@ jobs:
   linux-test:
     name: Emulator Tests
     runs-on: ubuntu-latest
+    defaults:
+      run:
+        working-directory: object_store
     env:
       # Disable full debug symbol generation to speed up CI build and keep memory down
       # "1" means line tables only, which is useful for panic tracebacks.
@@ -128,7 +134,7 @@ jobs:
           OBJECT_STORE_AWS_ACCESS_KEY_ID: test
           OBJECT_STORE_AWS_SECRET_ACCESS_KEY: test
           OBJECT_STORE_AWS_ENDPOINT: http://localhost:4566
-        run: cargo test -p object_store --features=aws,azure,gcp,http
+        run: cargo test --features=aws,azure,gcp,http
 
   # test the object_store crate builds against wasm32 in stable rust
   wasm32-build:
@@ -136,6 +142,9 @@ jobs:
     runs-on: ubuntu-latest
     container:
       image: amd64/rust
+    defaults:
+      run:
+        working-directory: object_store
     steps:
       - uses: actions/checkout@v3
         with:
@@ -145,6 +154,6 @@ jobs:
         with:
           target: wasm32-unknown-unknown,wasm32-wasi
       - name: Build wasm32-unknown-unknown
-        run: cargo build -p object_store --target wasm32-unknown-unknown
+        run: cargo build --target wasm32-unknown-unknown
       - name: Build wasm32-wasi
-        run: cargo build -p object_store --target wasm32-wasi
\ No newline at end of file
+        run: cargo build --target wasm32-wasi
\ No newline at end of file