Skip to content

WIP: Remove unused controllers #83

WIP: Remove unused controllers

WIP: Remove unused controllers #83

Workflow file for this run

name: CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
ci-rails-app:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2.2']
env:
RAILS_ENV: test
NOKOGIRI_USE_SYSTEM_LIBRARIES: true
steps:
- uses: actions/checkout@v2
- name: Install libxslt for nokogiri gem (required for version < 1.11)
run: sudo apt-get install -y libxml2-dev libxslt-dev
- name: Add --no-document option to .gemrc file to speed up bundle install
run: "echo 'gem: --no-document' > ~/.gemrc"
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Set up test config files
run: bundle exec rake sword:ci:config_files
- name: Set up test db
run: bundle exec rake db:migrate db:seed
- name: Run CI task
run: bundle exec rspec