Skip to content

Update Gemfile.lock for coplan-engine 0.2.0 #150

Update Gemfile.lock for coplan-engine 0.2.0

Update Gemfile.lock for coplan-engine 0.2.0 #150

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.0
env:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping -h 127.0.0.1"
--health-interval=10s
--health-timeout=5s
--health-retries=5
env:
RAILS_ENV: test
DATABASE_URL: mysql2://root@127.0.0.1:3306/planning_department_test
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Create database
run: bin/rails db:create db:schema:load
- name: Run tests
run: bin/rails test