Skip to content

add initial workflow for tests #1

add initial workflow for tests

add initial workflow for tests #1

Workflow file for this run

name: RSpec Tests

Check failure on line 1 in .github/workflows/rspec-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rspec-tests.yml

Invalid workflow file

`pull-request` is not a valid event name
run-name: ${{ github.actor }} is running rspec tests
on:
pull-request:
push:
branches: 'main'
jobs:
run-specs:
runs-on: macos
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up ruby
uses: ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Run specs
run: bundle exec rspec spec