Skip to content

Commit

Permalink
Add test action
Browse files Browse the repository at this point in the history
  • Loading branch information
etagwerker committed Sep 11, 2024
1 parent 66415a2 commit 7486c1e
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Ruby

on:
push:
branches:
- main
- 'releases/*'
pull_request:
branches:
- main
- 'releases/*'

jobs:
test:
runs-on: ubuntu-latest

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

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version-file: .ruby-version

- name: Install dependencies
run: bundle install

- name: Run tests
run: bundle exec rspec spec

0 comments on commit 7486c1e

Please sign in to comment.