mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Refresh environment variables
This commit is contained in:
parent
f09afd7cee
commit
d013827c06
1 changed files with 7 additions and 0 deletions
7
.github/workflows/test-windows.yml
vendored
7
.github/workflows/test-windows.yml
vendored
|
@ -63,6 +63,13 @@ jobs:
|
|||
Write-Output "Environment Variables"
|
||||
Get-ChildItem Env:
|
||||
|
||||
- name: Refresh Environment
|
||||
run: |
|
||||
foreach ($level in "Machine", "User") {
|
||||
$vars = [Environment]::GetEnvironmentVariables($level).GetEnumerator()
|
||||
$vars | ForEach-Object { $_ } | Set-Content -Path { "Env:$( $_.Name )" }
|
||||
}
|
||||
|
||||
- name: Test Bootstrap
|
||||
run: |
|
||||
pytest --cache-clear -v -s -ra --log-cli-level=debug tests/integration/
|
||||
|
|
Loading…
Add table
Reference in a new issue