Skip to content

Commit

Permalink
Add :nocov: comments to ignore code coverage for specific sections
Browse files Browse the repository at this point in the history
  • Loading branch information
ngetahun committed Nov 7, 2024
1 parent ee468b3 commit 384b00b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/lint-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,4 @@ jobs:
run: |
echo "::group::Version verification checks"
ruby ci/check-version-matches.rb
echo "::endgroup::"
- name: Export artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: ${{ github.workspace }}/coverage
echo "::endgroup::"
1 change: 1 addition & 0 deletions config/initializers/yabeda.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
# frozen_string_literal: true

return unless Settings.dig(:scc, :metrics, :enabled)
Expand Down
1 change: 1 addition & 0 deletions lib/rmt/config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# :nocov:
require 'config'
require_relative '../rmt'

Expand Down

0 comments on commit 384b00b

Please sign in to comment.