Skip to content

Commit 1dd5a40

Browse files
committed
CI: Output midi file size and MD5
1 parent e393105 commit 1dd5a40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ jobs:
106106
run: |
107107
~/.local/state/nix/profiles/pianotrans/bin/pianotrans --cli test/cut_liszt.opus test/cut_liszt.opus test/cut_liszt.opus | tee /tmp/transcribe.log
108108
time=$(awk 'BEGIN {ORS=" "} /Transcribe time:/ {print $3}' /tmp/transcribe.log)
109-
echo "::notice::Transcribe time: $time"
110-
test -e test/cut_liszt.opus.mid
109+
file=test/cut_liszt.opus.mid
110+
echo "::notice::Time/Size/MD5: $time / $(stat -c %s "$file") / $(md5sum "$file" | cut -d ' ' -f 1)"
111+
test -e "$file"
111112
- uses: azuwis/actions/nix/post@main

0 commit comments

Comments
 (0)