Skip to content

Commit

Permalink
Add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chapmankyle committed Apr 25, 2024
1 parent c64ff54 commit e3ee090
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run tests

on:
[push]

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1']

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

- name: Run tests
run: bundle exec rake

0 comments on commit e3ee090

Please sign in to comment.