Skip to content

Commit 99a166d

Browse files
authored
CI: Install tzdata for musl-based Ruby docker images (#354)
1 parent ab2384e commit 99a166d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,12 @@ jobs:
119119
;;
120120
esac > container_image
121121
echo "image=$(cat container_image)" >> $GITHUB_OUTPUT
122-
docker run --rm -d -v "${PWD}":"${PWD}" -w "${PWD}" $(cat container_image) /bin/sleep 64d | tee container_id
122+
docker run --rm -d -v "${PWD}":"${PWD}" -w "${PWD}" -e VERBOSE_MINITEST=true $(cat container_image) /bin/sleep 64d | tee container_id
123123
docker exec -w "${PWD}" $(cat container_id) uname -a
124124
echo "container_id=$(cat container_id)" >> $GITHUB_OUTPUT
125125
- name: Install Alpine system dependencies
126126
if: ${{ matrix.libc == 'musl' }}
127-
run: docker exec -w "${PWD}" ${{ steps.container.outputs.container_id }} apk add --no-cache build-base bash git
127+
run: docker exec -w "${PWD}" ${{ steps.container.outputs.container_id }} apk add --no-cache build-base bash git tzdata
128128
- name: Checkout
129129
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
130130
with:

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)