Skip to content

Add sqlite3 for CI_TEST env #13

Add sqlite3 for CI_TEST env

Add sqlite3 for CI_TEST env #13

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
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 app/
- name: Run Brakeman
run: bundle exec brakeman -w1 -z