Skip to content

Commit 1ef7dd8

Browse files
committed
Fix CI: Set TMPDIR in test step instead of job-level env
1 parent aff0a9d commit 1ef7dd8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
test:
1414
name: Test Suite
1515
runs-on: ubuntu-latest
16-
env:
17-
TMPDIR: ${{ runner.temp }} # Use GitHub's temp directory to avoid disk space issues
1816
steps:
1917
- uses: actions/checkout@v3
2018
with:
@@ -45,7 +43,11 @@ jobs:
4543
ls -la target/release/build/fastga-rs-*/out/ || true
4644
4745
- name: Run tests
48-
run: cargo test --release
46+
run: |
47+
# Set TMPDIR to GitHub's temp directory to avoid disk space issues
48+
export TMPDIR="${{ runner.temp }}"
49+
echo "TMPDIR for tests: $TMPDIR"
50+
cargo test --release
4951
5052
- name: Run clippy
5153
run: cargo clippy -- -D warnings
@@ -56,8 +58,6 @@ jobs:
5658
build:
5759
name: Build Check
5860
runs-on: ubuntu-latest
59-
env:
60-
TMPDIR: ${{ runner.temp }} # Use GitHub's temp directory to avoid disk space issues
6161
strategy:
6262
matrix:
6363
rust: [stable, beta, nightly]

0 commit comments

Comments
 (0)