Skip to content

Commit f370c39

Browse files
committed
test(tests): update assertion for available ports in CI/CD
1 parent 028e862 commit f370c39

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,17 @@ jobs:
9797
choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" -y
9898
# Install Windows SDK
9999
choco install windows-sdk-10-version-2004-all -y
100-
# Refresh environment variables
100+
101+
- name: Setup Windows environment
102+
if: matrix.os == 'windows-latest'
103+
run: |
104+
# Import Chocolatey profile to refresh environment variables
105+
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
101106
refreshenv
107+
# Verify that required tools are available
108+
echo "Checking installed tools..."
109+
cl.exe /? > $null 2>&1 && echo "Visual Studio Build Tools: OK" || echo "Visual Studio Build Tools: NOT FOUND"
110+
echo "Windows SDK should be available in PATH"
102111
103112
- name: Install dependencies
104113
run: |

0 commit comments

Comments
 (0)