Skip to content

Commit

Permalink
CI/test: Display transcribe time in annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
azuwis committed Aug 28, 2024
1 parent 7d75a29 commit a4b5450
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
nix -L develop .#${{ matrix.shell }} --profile ~/.local/state/nix/profiles/shell --command true
- name: Test transcribe
run: |
nix -L develop .#${{ matrix.shell }} --command ./PianoTrans.py --cli test/cut_liszt.opus test/cut_liszt.opus test/cut_liszt.opus
nix -L develop .#${{ matrix.shell }} --command ./PianoTrans.py --cli test/cut_liszt.opus test/cut_liszt.opus test/cut_liszt.opus | tee /tmp/transcribe.log
time=$(awk 'BEGIN {ORS=" "} /Transcribe time:/ {print $3}' /tmp/transcribe.log)
echo "::notice::Transcribe time: $time"
test -e test/cut_liszt.opus.mid
- uses: azuwis/actions/nix/post@main

0 comments on commit a4b5450

Please sign in to comment.