Skip to content

Commit

Permalink
Update CI matrix (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper authored Mar 17, 2024
1 parent a3c84ce commit 57604a9
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
41 changes: 23 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
name: CI
on:
push:
branches: ['main']
branches: ["main"]
pull_request:
branches: ['main']
branches: ["main"]
jobs:
tests:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest']
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
ruby-version:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
- 'head'

- 'truffleruby-22.2'
- 'truffleruby-22.3'
- 'truffleruby-head'

# - 'jruby-9.4.0.0'
# - 'jruby-head'
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
- "head"
- "truffleruby-22.2"
- "truffleruby-22.3"
- "jruby-9.4.6.0"
- "jruby-head"
exclude:
- os: "windows-latest"
ruby-version: "truffleruby-22.2"
- os: "windows-latest"
ruby-version: "truffleruby-22.3"

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -35,20 +38,22 @@ jobs:
bundler-cache: false

- name: Install dependencies
run: bundle install
run: |
bundle config set --local without "development"
bundle install
- name: Tests
run: bundle exec sus

rubocop:
runs-on: 'ubuntu-latest'
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: "3.3"
bundler-cache: false

- name: Install dependencies
Expand Down
11 changes: 4 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,13 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }

gemspec

gem "rubocop"
gem "sus"
gem "benchmark-ips"
gem "yard"

group :test do
gem "i18n"
gem "memory_profiler"
gem "sus"
end

group :development do
gem "rubocop"
gem "solargraph"
gem "yard"
gem "benchmark-ips"
end

0 comments on commit 57604a9

Please sign in to comment.