• 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

35.29
/app/models/event.rb
1
class Event < ActiveRecord::Base
1✔
2
  has_one :dump
1✔
3
  validates :message_body, uniqueness: { allow_blank: true }
1✔
4

5
  before_destroy do
1✔
UNCOV
6
    self.dump.destroy unless self.dump.nil?
×
7
  end
8

9
  class << self
1✔
10
    def record
1✔
UNCOV
11
      event = Event.new
×
UNCOV
12
      event.start = Time.now.utc
×
UNCOV
13
      event.success = true
×
UNCOV
14
      yield(event)
×
15
    rescue Exception => e
UNCOV
16
      event.success = false
×
UNCOV
17
      event.error = "#{e.class}: #{e.message}"
×
UNCOV
18
      warn e.message if defined?(Rake)
×
19
    ensure
UNCOV
20
      event.finish = Time.now.utc
×
UNCOV
21
      event.save!
×
UNCOV
22
      return event
×
23
    end
24
  end # class << self
25
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