Skip to content

Commit

Permalink
update test only target
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jul 5, 2024
1 parent a668956 commit dd91d99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,11 @@ void RemoveDirectory(string d)

Target(
TEST_ONLY,
DependsOn(RESTORE),
DependsOn(FORMAT),
Glob.Files(".", "**/*.Tests.csproj"),
file =>
{
Run("dotnet", $"restore {file} --locked-mode");
Run("dotnet", $"test {file} -c Release --no-restore --verbosity=normal /p:AltCover=true");
}
);
Expand Down

0 comments on commit dd91d99

Please sign in to comment.