github actions test fail
Run bin/rails db:test:prepare bin/rails db:test:prepare bin/rails test shell: /bin/bash -e {0} env: DATABASE_URL: postgres://postgres:@localhost:5432/jumpstart_test REDIS_URL: redis://localhost:6379/0 RAILS_ENV: test RAILS_MASTER_KEY: *** PG_USER: postgres /home/runner/work/_temp/93d6f9fd-d3bb-4deb-904f-16f5fcff085f.sh: line 1: bin/rails: Permission denied ##[error]Process completed with exit code 126.
how can we fix this?
Looks like
git ls-files -s
can display permissions bits (first column). Mine are all 100755.$ git ls-files -s bin 100755 f19acf5b5cc6e80139297e3e6ba9d2fff4153a21 0 bin/bundle 100755 5badb2fde0cb72bbb3cba8436721048dfd7e58dd 0 bin/rails 100755 d87d5f578104597c1d1b951b55942e37f8af1277 0 bin/rake 100755 51140427bbf3f87060498d8545b8c408069457eb 0 bin/setup 100755 fb2ec2ebb48dfade14242dea0add2d98d235a6cb 0 bin/spring 100755 58bfaed518c131bea0d7cde6052923de54620523 0 bin/update 100755 008ecb22f7c7d4daadc1b67acf2a1c974bb30729 0 bin/webpack 100755 a931a9b7fc26c5c5d619ee5165734b77b99e8dc2 0 bin/webpack-dev-server 100755 460dd565b4a3dd6c4cb028bc19d78a7c066d3ec8 0 bin/yarn
here is mine
100755 f19acf5b5cc6e80139297e3e6ba9d2fff4153a21 0 bin/bundle 100644 5badb2fde0cb72bbb3cba8436721048dfd7e58dd 0 bin/rails 100755 17240489f64832c9ce080088e27780d3dc3ee29a 0 bin/rake 100755 5853b5ea8757ef2559d99d22830cfe7d8d9818dd 0 bin/setup 100755 b9c30d2acd051fa96351f3aefa78e8efbba0b536 0 bin/spring 100755 58bfaed518c131bea0d7cde6052923de54620523 0 bin/update 100755 008ecb22f7c7d4daadc1b67acf2a1c974bb30729 0 bin/webpack 100644 a931a9b7fc26c5c5d619ee5165734b77b99e8dc2 0 bin/webpack-dev-server 100755 460dd565b4a3dd6c4cb028bc19d78a7c066d3ec8 0 bin/yarn
It is added in test mode.
https://gitlab.com/gorails/jumpstart-pro/blob/master/config/initializers/devise.rb#L323
https://gitlab.com/gorails/jumpstart-pro/blob/master/config/initializers/devise.rb#L323
I see, but I could not get it to pass the test.
Here are errors:
Here are errors:
Jumpstart::OmniauthCallbacksTest#test_Cannot_login_with_social_if_email_is_taken_but_not_connected_yet: AbstractController::ActionNotFound: The action 'developer' could not be found for Devise::OmniauthCallbacksController test/integration/jumpstart/omniauth_callbacks_test.rb:41:in `block in <class:OmniauthCallbacksTest>'
Jumpstart::OmniauthCallbacksTest#test_can_register_and_login_with_a_social_account: AbstractController::ActionNotFound: The action 'developer' could not be found for Devise::OmniauthCallbacksController test/integration/jumpstart/omniauth_callbacks_test.rb:10:in `block in <class:OmniauthCallbacksTest>'
Jumpstart::OmniauthCallbacksTest#test_can_connect_a_social_account_when_signed_in: AbstractController::ActionNotFound: The action 'developer' could not be found for Devise::OmniauthCallbacksController test/integration/jumpstart/omniauth_callbacks_test.rb:31:in `block in <class:OmniauthCallbacksTest>'
Notifications
You’re not receiving notifications from this thread.