From 326aa605d57252bde42130927ade683aa840e425 Mon Sep 17 00:00:00 2001 From: Dmitriy Vornychev Date: Tue, 30 Aug 2022 22:24:49 +0300 Subject: [PATCH] Support solution filters --- src/testDirectories.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testDirectories.ts b/src/testDirectories.ts index 8168697..5c3e9f7 100644 --- a/src/testDirectories.ts +++ b/src/testDirectories.ts @@ -80,8 +80,8 @@ function evaluateTestDirectories(testDirectories: string[]): string[] { testProjectFullPath = path.dirname(testProjectFullPath); } - if (glob.sync(`${testProjectFullPath}/+(*.csproj|*.sln|*.fsproj)`).length < 1) { - Logger.LogWarning(`Skipping path ${testProjectFullPath} since it does not contain something we can build (.sln, .csproj, .fsproj)`); + if (glob.sync(`${testProjectFullPath}/+(*.csproj|*.sln|*.slnf|*.fsproj)`).length < 1) { + Logger.LogWarning(`Skipping path ${testProjectFullPath} since it does not contain something we can build (.sln, .slnf, .csproj, .fsproj)`); } else if (!directoriesSet.has(testProjectFullPath)) { Logger.Log(`Adding directory ${testProjectFullPath}`); directories.push(testProjectFullPath);