diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 2dbc56a36..f888bfa33 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -1,6 +1,6 @@ name: macos -on: [push] +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/ubuntu-rvm.yml b/.github/workflows/ubuntu-rvm.yml index cf3d1d05b..39171322a 100644 --- a/.github/workflows/ubuntu-rvm.yml +++ b/.github/workflows/ubuntu-rvm.yml @@ -1,13 +1,13 @@ name: ubuntu-rvm -on: [push] +on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: - ruby: [ 'jruby-head', 'jruby-9.2.9.0', 'ruby-head', '2.3.8', '2.2.10' ] + ruby: [ 'jruby-head', 'jruby-9.2.9.0', 'truffleruby', 'ruby-head', '2.3.8', '2.2.10' ] steps: - uses: actions/checkout@master - name: Set up RVM diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b67130ad8..362f91c6c 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -1,6 +1,6 @@ name: ubuntu -on: [push] +on: [push, pull_request] jobs: build: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5ced11c45..10700a416 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,6 +1,6 @@ name: windows -on: [push] +on: [push, pull_request] jobs: build: diff --git a/test/test_rake_clean.rb b/test/test_rake_clean.rb index b0b1ad602..1e78a3667 100644 --- a/test/test_rake_clean.rb +++ b/test/test_rake_clean.rb @@ -4,7 +4,11 @@ class TestRakeClean < Rake::TestCase # :nodoc: def test_clean - load "rake/clean.rb", true + if RUBY_ENGINE == 'truffleruby' and RUBY_ENGINE_VERSION == '19.3.0' + load "rake/clean.rb" # TruffleRuby 19.3 does not set self correctly with wrap=true + else + load "rake/clean.rb", true + end assert Rake::Task["clean"], "Should define clean" assert Rake::Task["clobber"], "Should define clobber"