• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pulibrary / bibdata / 1dcebae2-3318-4e77-bc53-82276e293354

02 May 2025 04:45PM UTC coverage: 28.256% (-63.9%) from 92.189%
1dcebae2-3318-4e77-bc53-82276e293354

push

circleci

sandbergja
Add basic infrastructure for compiling rust code

* Add a rake compile task to compile
* Run the rake task in CI
* Run the rake task before rspec tests with the rust tag, to provide quick feedback on rust changes in TDD cycles

2 of 7 new or added lines in 2 files covered. (28.57%)

2467 existing lines in 97 files now uncovered.

1089 of 3854 relevant lines covered (28.26%)

0.29 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/app/checks/solr_status.rb
1
# frozen_string_literal: true
2

3
class SolrStatus < HealthMonitor::Providers::Base
1✔
4
  def check!
1✔
UNCOV
5
    uri = URI.parse(Rails.application.config.solr['url'])
×
UNCOV
6
    status_uri = URI(uri.to_s.gsub(uri.path, '/solr/admin/cores?action=STATUS'))
×
UNCOV
7
    req = Net::HTTP::Get.new(status_uri)
×
UNCOV
8
    response = Net::HTTP.start(uri.hostname, uri.port) { |http| http.request(req) }
×
UNCOV
9
    json = JSON.parse(response.body)
×
UNCOV
10
    raise "The solr has an invalid status #{status_uri}" if json['responseHeader']['status'] != 0
×
11
  end
12
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc