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 e0b7d49 commit 65aca11Copy full SHA for 65aca11
.github/workflows/tests.yml
@@ -100,6 +100,15 @@ jobs:
100
101
duration=$(grep -oP 'duration="\K[0-9\.]+' "$path" | head -1)
102
103
+ if [ -z "$duration" ]; then
104
+ local rd h m s
105
+ rd=$(grep -oP 'runDuration="\K[0-9:.]+' "$path" | head -1)
106
+ if [ -n "$rd" ]; then
107
+ IFS=: read -r h m s <<<"${rd%%.*}"
108
+ duration=$((10#$h*3600 + 10#$m*60 + 10#$s))
109
+ fi
110
111
+
112
if [ -z "$duration" ]; then
113
local start finish ds df
114
start=$(grep -oP '<Times[^>]*start="\K[^"]+' "$path" | head -1)
0 commit comments