8000 Run nmake check on Actions by k0kubun · Pull Request #4487 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Run nmake check on Actions #4487

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

Merged
merged 15 commits into from
May 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Simplify the ensure
  • Loading branch information
k0kubun committed May 11, 2021
commit 636d75b6fe49b66fc53d101978563a30ce68aead
3 changes: 1 addition & 2 deletions test/rubygems/test_gem_ext_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ def test_build_extensions_with_gemhome_with_space
end

def test_build_extensions_install_ext_only
skip if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
class << Gem
alias orig_install_extension_in_lib install_extension_in_lib

Expand All @@ -164,6 +163,7 @@ def Gem.install_extension_in_lib
false
end
end
skip if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning

@spec.extensions << 'ext/extconf.rb'

Expand Down Expand Up @@ -198,7 +198,6 @@ def Gem.install_extension_in_lib
refute_path_exists File.join @spec.gem_dir, 'lib', 'a.rb'
refute_path_exists File.join @spec.gem_dir, 'lib', 'a', 'b.rb'
ensure
return if /mswin/ =~ RUBY_PLATFORM && ENV.key?('GITHUB_ACTIONS') # not working from the beginning
class << Gem
remove_method :install_extension_in_lib

Expand Down
0