Skip to content

Commit

Permalink
Merge pull request #227 from davidwessman/github-actions
Browse files Browse the repository at this point in the history
Adds Github Actions workflow for tests
  • Loading branch information
boazsegev authored Jun 3, 2023
2 parents b6d14b8 + a82ac5c commit 308b41a
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: Main
on:
push:

jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["2.7", "3.0", "3.1", "3.2"]

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

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

- name: Generate lockfile
run: bundle lock

- name: Run tests
run: bundle exec rake test

0 comments on commit 308b41a

Please sign in to comment.