From 8bf306586399785e5e4e644fd4c06f13b94fdc21 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 6 Mar 2020 21:10:12 +0900 Subject: [PATCH 1/5] Unify workflow files --- .github/workflows/{ubuntu.yml => test.yml} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename .github/workflows/{ubuntu.yml => test.yml} (81%) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/test.yml similarity index 81% rename from .github/workflows/ubuntu.yml rename to .github/workflows/test.yml index 7622c5bba..f70c12e8a 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,10 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: matrix: + os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] ruby: [ 2.6, 2.5, 2.4, 2.3, 2.2, jruby, jruby-head, truffleruby, ruby-head ] steps: - uses: actions/checkout@v2 From 8ce1c04e98a9d590e7af5a293c5949de22e16420 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 6 Mar 2020 21:15:49 +0900 Subject: [PATCH 2/5] exclude truffleruby and windows --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f70c12e8a..139a136d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,9 @@ jobs: matrix: os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] ruby: [ 2.6, 2.5, 2.4, 2.3, 2.2, jruby, jruby-head, truffleruby, ruby-head ] + exclude: + - os: windows-latest + ruby: truffleruby steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 From 1b3cc29baeaf9aef4894fd1c1f4047bf543c297a Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 6 Mar 2020 21:21:14 +0900 Subject: [PATCH 3/5] indent --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 139a136d6..d876810c2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,9 @@ jobs: matrix: os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] ruby: [ 2.6, 2.5, 2.4, 2.3, 2.2, jruby, jruby-head, truffleruby, ruby-head ] - exclude: - - os: windows-latest - ruby: truffleruby + exclude: + - os: windows-latest + ruby: truffleruby steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 From 6c07d631b8f53ae09ad5b7fe33f908108ba4e5e5 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 6 Mar 2020 21:27:37 +0900 Subject: [PATCH 4/5] Allow failure with JRuby head --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d876810c2..2a0da57ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,3 +21,4 @@ jobs: run: gem install minitest - name: Run test run: ruby -Ilib exe/rake + continue-on-error: ${{ matrix.ruby == 'jruby-head' }} From 7be2afeae8b74e697a41d349a82bb0601f872dd6 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 6 Mar 2020 22:17:54 +0900 Subject: [PATCH 5/5] exclude jruby and windows --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a0da57ce..a76aa0c87 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,10 @@ jobs: exclude: - os: windows-latest ruby: truffleruby + - os: windows-latest + ruby: jruby-head + - os: windows-latest + ruby: jruby steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 @@ -21,4 +25,3 @@ jobs: run: gem install minitest - name: Run test run: ruby -Ilib exe/rake - continue-on-error: ${{ matrix.ruby == 'jruby-head' }}