Skip to content

Commit

Permalink
Merge pull request #8 from daipom/add-ci-as-github-action
Browse files Browse the repository at this point in the history
Add CI as GitHub Actions
  • Loading branch information
daipom committed Apr 5, 2023
2 parents 43ea66d + c74decf commit 5081e88
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test
on: [push, pull_request]
jobs:
Test:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
ruby: [ '2.7', '3.0', '3.1', '3.2' ]
name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Test
run: bundle exec rake

0 comments on commit 5081e88

Please sign in to comment.