mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Set TMPDIR to $RUNNER_TEMP
Sets the TMPDIR environment variable to the value of $RUNNER_TEMP, which should point to a suitable temp dir for runner operations. On windows runners, this should be on the same disk volume as the checked out repo and the root for pytest-salt-factories masters and minions.
This commit is contained in:
parent
76fcc87785
commit
2da58365e9
1 changed files with 6 additions and 0 deletions
6
.github/workflows/test-action.yml
vendored
6
.github/workflows/test-action.yml
vendored
|
@ -775,6 +775,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
-k "win" --core-tests --slow-tests --suppress-no-test-exit-code
|
||||
|
@ -801,6 +802,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
-k "win" --suppress-no-test-exit-code
|
||||
|
@ -826,6 +828,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
-k "win" --suppress-no-test-exit-code --no-fast-tests --slow-tests
|
||||
|
@ -851,6 +854,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
-k "win" --suppress-no-test-exit-code --no-fast-tests --core-tests
|
||||
|
@ -876,6 +880,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
-k "win" --suppress-no-test-exit-code --no-fast-tests --flaky-jail
|
||||
|
@ -901,6 +906,7 @@ jobs:
|
|||
PIP_DISABLE_PIP_VERSION_CHECK: "1"
|
||||
RAISE_DEPRECATIONS_RUNTIME_ERRORS: "1"
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
TMPDIR: ${{ runner.temp }}
|
||||
run: >
|
||||
nox --force-color -e ${{ inputs.nox-session }} -- ${{ matrix.tests-chunk }} --
|
||||
--slow-tests --core-tests -k "win" --test-group-count=${{ matrix.test-group-count || 1 }} --test-group=${{ matrix.test-group || 1 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue