Closed fargelus closed 2 years ago
Strange errors occurs in ci rspec stage. I don't see them running test locally. @palkan could you look?
@fargelus try running bundle exec rake
or bundle exec rake spec:norails
do you see the same output as from CI?
I don't see them running test locally
Try running everything with bundle exec rake
(and take a look at the CI configs and Rakefile; we have different test configurations to test with different environments, e.g., Rails and No-Rails).
@fargelus try running
bundle exec rake
orbundle exec rake spec:norails
do you see the same output as from CI? Unfortunately yes(
What is the purpose of this pull request?
Closes https://github.com/palkan/anyway_config/issues/87
What changes did you make? (overview)
Added environments to non-Rails apps.
current_environment
to Anyway::Settings class. Provide default value for this, maybe ENV["RAILS_ENV"]?environmental?
and fetch all values from Anyway::Settings.current_environment config file's section. Merge default values into resulting config keys.Is there anything you'd like reviewers to focus on?
Time
Work time: 7 hours
Delivery date: 27.12.21
Checklist