-
Notifications
You must be signed in to change notification settings - Fork 4
Add Rspec included modules support #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
9ffb93e
f4faace
66d55fd
7c817e7
49f22c1
1f8ac4b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,16 +57,10 @@ jobs: | |
| # - name: Run Rubocop | ||
| # run: cd solargraph-rspec && bundle exec rubocop | ||
|
|
||
| - name: 'Apply solargraph debug patch' | ||
| run: |- | ||
| echo 'exclude: ["vendor/**/*", "gemfiles/**/*"]' > solargraph-rspec/.solargraph.yml | ||
| cd solargraph-rspec/gemfiles/vendor/bundle/ruby/${{ matrix.ruby-version }}.0/gems/solargraph-0.56.0 | ||
|
|
||
| awk '/Caching yardoc for/ { print "return nil unless Dir.exist?(gemspec.gem_dir)"; print; next }1' lib/solargraph/yardoc.rb > tmp.rb | ||
| mv tmp.rb lib/solargraph/yardoc.rb | ||
|
|
||
| - name: Cache Docs | ||
| run: |- | ||
| # Vendor files: don't do them | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we add more context on why we don't need vendor files? My understanding is that it is because we run specs via appraisal gem, is that correct?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bad comment on my part - we still have vendor files, just they're excluded in a different way in the sg workspace. By default, only |
||
| echo 'exclude: ["**/vendor/**/*"]' > solargraph-rspec/.solargraph.yml | ||
| cd solargraph-rspec | ||
| bundle exec solargraph gems --rebuild | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't forget to bring this back again.