• 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

0.0
/app/jobs/import/partner/start_workflow_job.rb
UNCOV
1
module Import
×
UNCOV
2
  module Partner
×
UNCOV
3
    class StartWorkflowJob
×
UNCOV
4
      include Sidekiq::Job
×
UNCOV
5
      def perform(dump_id)
×
UNCOV
6
        dump = Dump.find(dump_id)
×
UNCOV
7
        batch.jobs do
×
UNCOV
8
          institutions.each do |institution, prefix|
×
UNCOV
9
            validate_csv_batch = Sidekiq::Batch.new
×
UNCOV
10
            validate_csv_batch.description = "Ensure there are no private records included for institution #{institution}"
×
UNCOV
11
            validate_csv_batch.on(:success, 'Import::Partner::FullCallbacks#validate_csv_success', 'dump_id' => dump_id, 'institution' => institution, 'prefix' => prefix)
×
UNCOV
12
            validate_csv_batch.jobs do
×
UNCOV
13
              ValidateCsvJob.perform_async(dump_id, institution, prefix)
×
UNCOV
14
            end
×
UNCOV
15
          end
×
UNCOV
16
        end
×
UNCOV
17
      end
×
18

UNCOV
19
      private
×
20

UNCOV
21
        def institutions
×
UNCOV
22
          {
×
UNCOV
23
            'NYPL' => 'scsbfull_nypl_',
×
UNCOV
24
            'CUL' => 'scsbfull_cul_',
×
UNCOV
25
            'HL' => 'scsbfull_hl_'
×
UNCOV
26
          }
×
UNCOV
27
        end
×
UNCOV
28
    end
×
UNCOV
29
  end
×
UNCOV
30
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