Skip to content

Commit

Permalink
Refactor test commands and coverage configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ngetahun committed Nov 4, 2024
1 parent 63119c3 commit b09244d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/lint-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Run core tests
run: |
bundle exec rspec --format documentation
bundle exec rake test:core
- name: Run PubCloud engines tests
run: |
Expand All @@ -93,16 +93,6 @@ jobs:
ruby ci/check-version-matches.rb
echo "::endgroup::"
- name: Run PubCloud engines tests
run: |
bundle exec rake test:engines
- name: Run version checks
run: |
echo "::group::Version verification checks"
ruby ci/check-version-matches.rb
echo "::endgroup::"
- name: Export coverage report
uses: actions/upload-artifact@v4
if: always()
Expand Down
9 changes: 4 additions & 5 deletions .simplecov
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ unless ENV['NO_COVERAGE']
# omit registration sharing (removing systems using rmt-cli)
add_filter('engines/registration_sharing/lib/registration_sharing.rb')

track_files('app/**/*.rb')
track_files('lib/**/*.rb')

add_filter('lib/rmt/config.rb')
add_filter('lib/rmt/db.rb')
add_filter('lib/rmt.rb')
add_filter('config/**/*(.rb|.yml)')
add_filter('config')

track_files('app/**/*.rb')
track_files('lib/**/*.rb')
end
end

Expand Down

0 comments on commit b09244d

Please sign in to comment.