Skip to content

Commit 8fcf0dd

Browse files
committed
Don't install documentation dependencies when running tests
1 parent 3b8a505 commit 8fcf0dd

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262

6363
env:
6464
BUNDLE_PATH: ${{ github.workspace }}/vendor/bundle
65+
BUNDLE_WITHOUT: docs
6566
ACTIVERECORD_VERSION: ${{ matrix.activerecord }}
6667
PG_VERSION: ${{ matrix.pg }}
6768

Gemfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ gem "aws-sdk-ec2"
77
gem "base64"
88
gem "bigdecimal"
99
gem "bundler"
10-
gem "commonmarker", "< 1.0" # https://github.com/lsegal/yard/issues/1528
1110
gem "minitest"
1211
gem "minitest-reporters"
1312
gem "mutex_m"
@@ -21,8 +20,12 @@ gem "rubocop-rake"
2120
gem "sequel"
2221
gem "simplecov", require: false
2322
gem "timecop"
24-
gem "webrick"
25-
gem "yard"
23+
24+
group :docs do
25+
gem "commonmarker", "< 1.0" # https://github.com/lsegal/yard/issues/1528
26+
gem "webrick"
27+
gem "yard"
28+
end
2629

2730
def gem_version(gem_name)
2831
ENV["#{gem_name.upcase}_VERSION"]&.then { |gem_version| "~> #{gem_version}.0" }

0 commit comments

Comments
 (0)