Skip to content

Bump rdoc from 6.6.1 to 6.6.3.1 #57

Bump rdoc from 6.6.1 to 6.6.3.1

Bump rdoc from 6.6.1 to 6.6.3.1 #57

Workflow file for this run

name: Run CI Tasks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: false
MYSQL_ROOT_PASSWORD: rails
MYSQL_DATABASE: bms_to_pdf
ports:
- 3306/tcp
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
ruby-version: ['3.0', '3.1', '3.2']
steps:
- uses: actions/checkout@v2
- 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: Build Assets
run: |
bin/rails assets:precompile
- name: Run Tests
env:
RAILS_ENV: test
DATABASE_URL: mysql2://root:rails@127.0.0.1:${{ job.services.mysql.ports['3306'] }}/bms_to_pdf_test
run: |
bin/rails db:reset
bin/rails test