Skip to content

Commit

Permalink
Add github actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
nachojorge committed Dec 17, 2024
1 parent 737ac9f commit f9824e0
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Gem Validations

on:
push:
branches:
- '**'

jobs:
tests:
name: 'Run tests'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7', '2.6', '2.5']

steps:
- name: Checkout
uses: actions/checkout@v4

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

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec

0 comments on commit f9824e0

Please sign in to comment.