Skip to content

Commit

Permalink
Add github actions for rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandroperea committed Jan 15, 2023
1 parent 3ebb675 commit 233d0e9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ruby.yaml
@@ -0,0 +1,26 @@
name: Ruby specs

on: [push, pull_request]

jobs:
test:
name: Tests for ${{ matrix.ruby.name }}
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
ruby:
- { name: "Ruby 3.2.x", value: 3.2.0 }
- { name: "Ruby 3.1.x", value: 3.1.3 }
- { name: "Ruby 3.0.x", value: 3.0.5 }
- { name: "Ruby 2.7.x", value: 2.7.7 }
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby.value }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec

0 comments on commit 233d0e9

Please sign in to comment.