Skip to content

Commit

Permalink
github action -- specs
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbattaglia committed Aug 7, 2023
1 parent 1a83861 commit ecc9a5b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/specs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# From https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-ruby

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.1'
- name: Install dependencies
run: bundle install
- name: Run specs
run: bundle exec rspec

2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
tabry (0.2.4)
tabry (0.2.5)

GEM
remote: https://rubygems.org/
Expand Down

0 comments on commit ecc9a5b

Please sign in to comment.