Skip to content

Commit

Permalink
better usage of codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhathcock committed Jul 5, 2024
1 parent 989a805 commit f7e1dab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ void RemoveDirectory(string d)
file =>
{
Run("dotnet", $"restore {file} --locked-mode");
Run("dotnet", $"test {file} -c Release --no-restore --verbosity=normal /p:AltCover=true");
Run(
"dotnet",
$"test {file} -c Release --no-restore --verbosity=normal /p:AltCover=true /p:AltCoverLocalSource=true /p:AltCoverAttributeFilter=ExcludeFromCodeCoverage"
);
}
);

Expand Down

0 comments on commit f7e1dab

Please sign in to comment.