Skip to content

Commit

Permalink
Add GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jan 11, 2024
1 parent 6a07e32 commit f60bf7d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "CI Tests"
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master

jobs:
build:
name: "[${{matrix.ruby}}/${{matrix.os}}] CI Tests [Ruby/OS]"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-10.15, windows-2019]
# 3.0 is interpreted as 3
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, 2.7, "3.0", 3.1, 3.2, 3.3]
exclude:
- { os: windows-2019, ruby: 2.2 }
- { os: windows-2019, ruby: 2.3 }
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Ruby & 'bundle install'
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run Test
run: |
ruby -v
bundle exec rake
env:
CI: true

0 comments on commit f60bf7d

Please sign in to comment.