Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-snag2 committed Apr 29, 2024
1 parent 914c6b3 commit 2a63ede
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
name: Ruby

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened, ready_for_review]

jobs:
test:
Expand All @@ -22,6 +20,20 @@ jobs:
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: ['ar_6.1', 'ar_7.0', 'ar_7.1']

services:
mysql:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: ar_test
options: >-
--health-cmd "mysqladmin ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- "3306:3306"

steps:
- uses: actions/checkout@v2
- name: Set up Ruby
Expand Down

0 comments on commit 2a63ede

Please sign in to comment.