Skip to content

Commit 7d6d2ed

Browse files
committed
ci(cubestore): Setup TMPDIR explicitly
1 parent 70a9dff commit 7d6d2ed

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/rust-cubestore.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ jobs:
3232
env:
3333
RUST: ${{ matrix.rust }}
3434
steps:
35+
- name: Prepare directories
36+
# See TMPDIR comment below
37+
run: mkdir /__w/tmp
3538
- name: Checkout
3639
uses: actions/checkout@v4
3740
- name: Install Rust
@@ -57,6 +60,10 @@ jobs:
5760
run: |
5861
cargo build --manifest-path rust/cubestore/Cargo.toml
5962
- name: Run cargo test
63+
env:
64+
# LocalDirRemoteFs expect that std::env::temp_dir and its local dir is on same FS, to use `rename`
65+
# On Unix it's controlled by TMPDIR
66+
TMPDIR: /__w/tmp
6067
run: |
6168
cargo test --manifest-path rust/cubestore/Cargo.toml
6269

0 commit comments

Comments
 (0)