Skip to content

Commit

Permalink
Merge pull request #31 from mmuetzel/GitHub-CI
Browse files Browse the repository at this point in the history
GitHub-CI: Write installed package version to log.
  • Loading branch information
mmuetzel authored May 17, 2024
2 parents 68eb6d3 + dd75c4d commit f18cd37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ jobs:
do
printf " \033[0;32m==>\033[0m Testing package \033[0;32m${pkg}\033[0m\n"
echo "::group::Test package $pkg"
( ./octave-launch.exe --no-gui --no-init-file --silent --no-history --eval "pkg('test','$pkg')" \
( ./octave-launch.exe --no-gui --no-init-file --silent --no-history \
--eval "installed_pkg = pkg ('list', '$pkg'); fprintf ('version: %s\n', installed_pkg{1}.version); pkg ('test', '$pkg')" \
|| echo "::error::Octave terminated with error code $? during tests for package $pkg" ) \
| tee ./test-$pkg.log
echo "::endgroup::"
Expand Down

0 comments on commit f18cd37

Please sign in to comment.