Skip to content

Commit

Permalink
Refresh environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Nov 4, 2024
1 parent 2b78e53 commit d47957d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
run: |
. .\bootstrap-salt.ps1
- 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/
Expand Down

0 comments on commit d47957d

Please sign in to comment.