Skip to content

Commit

Permalink
Merge pull request #2 from manyfold3d/coverage
Browse files Browse the repository at this point in the history
Add coverage measurement and reporting
  • Loading branch information
Floppy authored Dec 18, 2024
2 parents 1a4aec9 + cd13c51 commit 29bbf21
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ jobs:
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake spec
- name: Run tests
uses: paambaati/[email protected]
with:
coverageCommand: bundle exec rake spec
env:
CC_TEST_REPORTER_ID: 55b96e0bbf05e3116f96fbf32b5f29f45a01bbf01469046f38bb27703fb9b9c9

macos:
name: macOS
Expand Down
1 change: 1 addition & 0 deletions mittsu-3mf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rexml", "~> 3.3"
spec.add_development_dependency "rubocop-rspec", "~> 3.2"
spec.add_development_dependency "rubocop-rake", "~> 0.6"
spec.add_development_dependency "simplecov", "~> 0.22"
end
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#
# See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

require "simplecov"
SimpleCov.start

require "mittsu/3mf"

RSpec.configure do |config|
Expand Down

0 comments on commit 29bbf21

Please sign in to comment.