Skip to content

Commit

Permalink
Create main.yml workflow
Browse files Browse the repository at this point in the history
Create workflow for gem testing.
  • Loading branch information
ryankopf committed Aug 11, 2023
1 parent c6fda5a commit cb9bdf1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Ruby Gem Test

on:
push:
branches: [ main, test-workflow ]
pull_request:
branches: [ main, test-workflow ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['1.8.7', '1.9.2', '1.9.3', '2.0.0']

steps:
- uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}

- name: Set up dependencies
run: bundle install

- name: Run tests
run: bundle exec rake

0 comments on commit cb9bdf1

Please sign in to comment.