Skip to content

Commit 0ecdd3e

Browse files
committed
Make minitest install optional
1 parent d93c9f5 commit 0ecdd3e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/ruby.yml

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
container_tag:
15+
- master-nightly-focal
1516
- 3.0-focal
1617
- 2.7-bionic
1718
job:
@@ -31,6 +32,10 @@ jobs:
3132
ruby -v
3233
gem install bundler
3334
bin/setup
35+
- name: Install minitest
36+
run: |
37+
bundle install --with minitest
38+
if: "!contains(matrix.container_tag, 'master-nightly')"
3439
- name: Run test
3540
run: |
3641
bundle exec rake ${{ matrix.job }}

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,7 @@ gem "rbs-amber", path: "test/assets/test-gem"
2323
group :ide, optional: true do
2424
gem "ruby-debug-ide"
2525
end
26+
27+
group :minitest, optional: true do
28+
gem "minitest"
29+
end

0 commit comments

Comments
 (0)