Skip to content

Commit 6f37613

Browse files
committed
Show passed time to find what times out.
1 parent bda86b2 commit 6f37613

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/jobs/baseinstall.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ section_end
118118

119119
if [ "${db}" = "install" ]; then
120120
section_start "Install the example data"
121+
begin=$(date +%s)
121122
/opt/domjudge/domserver/bin/dj_setup_database -uroot -proot install-examples | tee -a "$ARTIFACTS/mysql.txt"
123+
end=$(date +%s)
124+
echo $((end-begin))
122125
section_end
123126
fi
124127

0 commit comments

Comments
 (0)