We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca55bc commit 9a1b075Copy full SHA for 9a1b075
1 file changed
.github/workflows/test/action.yml
@@ -15,12 +15,14 @@ runs:
15
warn="\e[0;33m"
16
while [ $counter -lt 6 ]
17
do
18
+ # run test and forward output also to a file in addition to stdout (tee command)
19
if [ $filter ]
20
then
21
echo -e "${warn}Retry $counter for $filter ${reset}"
22
+ dotnet test --no-build -m:1 --blame-hang --blame-hang-timeout 5m --filter=$filter | tee ./output.log
23
+ else
24
+ dotnet test --no-build -m:1 --blame-hang --blame-hang-timeout 5m | tee ./output.log
25
fi
- # run test and forward output also to a file in addition to stdout (tee command)
- dotnet test --no-build -m:1 --blame-hang --blame-hang-timeout 5m --filter=$filter | tee ./output.log
26
# capture dotnet test exit status, different from tee
27
exitcode=${PIPESTATUS[0]}
28
if [ $exitcode == 0 ]
0 commit comments