Skip to content

Commit

Permalink
try exclude by file
Browse files Browse the repository at this point in the history
  • Loading branch information
0xor1 committed Dec 5, 2023
1 parent 684d589 commit 990ea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pre
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ docker-compose -f docker/docker-compose.yml up -d
docker ps -a

dotnet build
dotnet test -p:CollectCoverage="true" -p:CoverletOutputFormat="cobertura" -p:Exclude="[*]System.Text.RegularExpressions.Generated.*"
dotnet test -p:CollectCoverage="true" -p:CoverletOutputFormat="cobertura" -p:Exclude="[*]System.Text.RegularExpressions.Generated.*" -p:ExcludeByFile="**/RegexGenerator.g.cs"

if [ "$1" == "gh-actions" ]; then
curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz
Expand Down

0 comments on commit 990ea7b

Please sign in to comment.