1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00
docile/Gemfile
Marc Siegel ba7684f0bd
Move Gemfile CI-only dependencies to test group (#91)
We want to be careful to avoid accidentally bringing
in runtime dependencies to projects which use Docile.

In this PR, we clarify explicitly that the CI-only dependency
on simplecov-cobertura, which is the formatt used by CodeCov,
is a test dependency, and not a runtime dependency.

Without this change, it may be possible that projects which use
Docile, when running in an environment with CI=true, would
accidentally bring in this test-only dependency, when that isn't
intended.

  - Remove unnecessary quoting of '3.1' in .github/workflows/main.yml
2022-04-11 14:33:52 -04:00

26 lines
608 B
Ruby

# frozen_string_literal: true
source "https://rubygems.org"
# Specify gem's runtime dependencies in docile.gemspec
gemspec
group :test do
gem "rspec", "~> 3.10"
gem "simplecov", require: false
# CI-only test dependencies go here
if ENV["CI"] == "true"
gem "simplecov-cobertura", require: false, group: "test"
end
end
# Excluded from CI except on latest MRI Ruby, to reduce compatibility burden
group :checks do
gem "panolint", github: "panorama-ed/panolint", branch: "main"
end
# Optional, only used locally to release to rubygems.org
group :release, optional: true do
gem "rake"
end