Skip to content

Instantly share code, notes, and snippets.

@diogowernik
diogowernik / run-rspec.yml
Created August 11, 2022 22:05 — forked from jay-snee/run-rspec.yml
GitHub Actions workflow to install Ruby/Redis/Postgresql, build a Ruby app (with gem cache) and then run then Rspec with final step to merge onto 'deploy' branch upon successful completion.
name: run rspec
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:

Setting up the base application

1. Install rails

$ gem install rails -v 5.0.0.beta1 --no-ri --no-rdoc

2. Create a new application

$ rails _5.0.0.beta1_ new blog --skip-spring