Merge pull request #16196 from zhengkezhou1/fix-discovery-test-wsl2

chore: ci: run Discovery tests on Windows
This commit is contained in:
Ayoub Mrini 2025-03-12 16:10:53 +01:00 committed by GitHub
commit a4a4ef6a52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ jobs:
with:
go-version: 1.24.x
- run: |
$TestTargets = go list ./... | Where-Object { $_ -NotMatch "(github.com/prometheus/prometheus/discovery.*|github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"}
$TestTargets = go list ./... | Where-Object { $_ -NotMatch "(github.com/prometheus/prometheus/config|github.com/prometheus/prometheus/web)"}
go test $TestTargets -vet=off -v
shell: powershell