Skip to content

Commit 7ce53cf

Browse files
committed
Add directory to CI env
1 parent 8ffa5de commit 7ce53cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ jobs:
228228
uses: actions/setup-python@v5
229229
with:
230230
python-version: ${{ matrix.python-version }}
231+
- name: "Set environment variables"
232+
run: |
233+
RUNNER_NAME=$(echo "${{ runner.name }}" | grep -o 'ghrunner[0-9]\+' | sed 's/ghrunner\([0-9]\+\)/ghrunner_\1/')
234+
echo "PYTEST_DEBUG_TEMPROOT=/var/lib/github/${RUNNER_NAME}/_temp" >> $GITHUB_ENV
231235
- name: "Setup environment"
232236
run: |
233237
pipx install poetry==2.1 --python python${{ matrix.python-version }}

0 commit comments

Comments
 (0)