Skip to content

Kick the bundle along #32

Kick the bundle along

Kick the bundle along #32

Workflow file for this run

name: Rspec Testing
on: [push,pull_request]
jobs:
# Label of the container job
ci-testing:
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
env:
CI_TEST: true
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: RSPEC tests
run: |
RAILS_ENV=test bin/rails db:create
RAILS_ENV=test bin/rails db:migrate
RAILS_ENV=test bundle exec rspec
env:
CI_TEST: true
- name: Yarn Install
run: yarn install
- name: Bundle Audit
run: bundle exec bundle audit check --update
- name: Run Rubocop
run: bundle exec rubocop
- name: Run Brakeman
run: bundle exec brakeman -w1 -z