Skip to content
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

Fix test workflow. #294

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Changes from all commits
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
48 changes: 26 additions & 22 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,40 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-18.04, macos-11, windows-2019 ]
ruby: [ head, '3.0', 2.7, 2.6, 2.5, 2.4, jruby, truffleruby-head ]
os:
- ubuntu-22.04
- macos-11
- windows-2022
ruby:
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "head"
- "jruby"
- "truffleruby"
include:
- { os: ubuntu-22.04, ruby: head }
- { os: ubuntu-22.04, ruby: 3.1 }
- { os: windows-2022, ruby: ucrt }
- { os: windows-2022, ruby: 3.1 }
- {os: ubuntu-20.04, ruby: "3.2"}
- {os: windows-2019, ruby: "3.2"}
- {os: windows-2022, ruby: ucrt}
exclude:
- { os: windows-2019, ruby: head }
- { os: windows-2019, ruby: jruby }
- { os: windows-2019, ruby: truffleruby-head }
- {os: windows-2022, ruby: head}
- {os: windows-2022, ruby: jruby}
- {os: windows-2022, ruby: truffleruby}

steps:
- name: repo checkout
uses: actions/checkout@v2

- name: load ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true

- name: RubyGems, Bundler Update
run: gem update --system --no-document --conservative

- name: bundle install
run: bundle install --path .bundle/gems --without development

- name: compile
- name: Compile
run: bundle exec rake compile

- name: test
- name: Test
run: bundle exec rake spec
timeout-minutes: 10