Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ env:
# repository is required or used (tests/dependency_pin_tests.rs enforces
# the canonical source and full revision; bump only together with a
# Cargo.lock refresh).
# Integration tests place temporary SQLite state and fixture scripts
# here. Every suite honors this variable; without it they fall back to
# /mnt/TEMP/rustscript/... which is the local-development default and
# not writable on CI runners.
RUSTSCRIPT_AGENT_TEST_TMP: ${{ runner.temp }}/rustscript-agent-tests

jobs:
quality:
Expand All @@ -41,6 +36,14 @@ jobs:
# (actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5).
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5

# Integration tests honor RUSTSCRIPT_AGENT_TEST_TMP for SQLite state and
# fixture scripts; without it they fall back to /mnt/TEMP/rustscript/...
# which is not writable on CI runners. `runner` is unavailable in
# workflow-level and job-level `env`, so export the runner default
# RUNNER_TEMP path from a step instead.
- name: Configure test temp root
run: echo "RUSTSCRIPT_AGENT_TEST_TMP=${RUNNER_TEMP}/rustscript-agent-tests" >> "$GITHUB_ENV"

- name: Install Rust toolchain
# Full-SHA pin, matching the rustscript-lang/rustscript CI policy
# (dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30).
Expand Down
Loading
Loading