Skip to content

Commit

Permalink
build: add ci test coverage to project
Browse files Browse the repository at this point in the history
  • Loading branch information
dvinciguerra committed May 30, 2023
1 parent 924b04f commit 5713c43
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ jobs:
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- name: Create Coverage Artifact
uses: actions/upload-artifact@v2
with:
name: code-coverage
path: coverage/
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ group :development do
gem "rubocop-rspec", "~> 2.22"
end

group :test do
gem "simplecov", "~> 0.22.0", require: false
end

8 changes: 8 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GEM
ast (2.4.2)
coderay (1.1.3)
diff-lcs (1.5.0)
docile (1.4.0)
ffi (1.15.5)
formatador (1.1.0)
guard (2.18.0)
Expand Down Expand Up @@ -87,6 +88,12 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
shellany (0.0.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
thor (1.2.2)
tty-color (0.6.0)
tty-cursor (0.7.1)
Expand All @@ -110,6 +117,7 @@ DEPENDENCIES
rspec (~> 3.0)
rubocop (~> 1.51)
rubocop-rspec (~> 2.22)
simplecov (~> 0.22.0)
u-menu!

BUNDLED WITH
Expand Down

0 comments on commit 5713c43

Please sign in to comment.