Skip to content

Commit

Permalink
Merge pull request #63 from thecodecrate/update-rspec-github-actions-…
Browse files Browse the repository at this point in the history
…for-v0

💚 ci: set up GitHub Actions for RSpec tests
  • Loading branch information
loureirorg authored Aug 20, 2023
2 parents fb0761c + 2b8ec3f commit a25e8b4
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: RSpec Tests

on:
push:
branches:
- main
- v0
pull_request:
branches:
- main
- v0

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
ruby: ['2.6', '3.0']

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Run tests
run: bundle exec rspec

0 comments on commit a25e8b4

Please sign in to comment.