Skip to content

Commit 4724bca

Browse files
committed
adds VERBOSE_MINITEST to make mini test output verbose
1 parent b20b08a commit 4724bca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113
;;
114114
esac > container_image
115115
echo "image=$(cat container_image)" >> $GITHUB_OUTPUT
116-
docker run --rm -d -v "${PWD}":"${PWD}" -w "${PWD}" $(cat container_image) /bin/sleep 64d | tee container_id
116+
docker run --rm -d -v "${PWD}":"${PWD}" -w "${PWD}" -e VERBOSE_MINITEST=true $(cat container_image) /bin/sleep 64d | tee container_id
117117
docker exec -w "${PWD}" $(cat container_id) uname -a
118118
echo "container_id=$(cat container_id)" >> $GITHUB_OUTPUT
119119
- name: Install Alpine system dependencies

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Minitest::TestTask.create(:test) do |t|
88
t.libs << "test"
99
t.libs << "lib"
1010
t.test_globs = FileList['test/**/*_test.rb']
11+
t.extra_args += ["--verbose"] if ENV["VERBOSE_MINITEST"]
1112
end
1213

1314
task :default => [:compile, :test]

0 commit comments

Comments
 (0)