• 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

28.57
/app/controllers/users/omniauth_callbacks_controller.rb
1
class Users::OmniauthCallbacksController < Devise::OmniauthCallbacksController
1✔
2
  def cas
1✔
UNCOV
3
    @user = User.from_cas(request.env['omniauth.auth'])
×
UNCOV
4
    if @user.persisted?
×
5
      sign_in_and_redirect @user, event: :authentication # this will throw if @user is not activated
×
6
      set_flash_message(:notice, :success, kind: 'from Princeton Central Authentication '\
7
                                                 'Service') if is_navigational_format?
×
8
    else
9
      # nosemgrep
UNCOV
10
      redirect_to request.env['omniauth.origin'], alert: t('users.omniauth_callback.unauthorized')
×
11
    end
12
  end
13
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