Skip to content

Commit

Permalink
Setup CI
Browse files Browse the repository at this point in the history
  • Loading branch information
panthomakos committed Feb 12, 2024
1 parent 3660cdc commit 4c2d860
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Rake

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.4', '2.5', '2.6', '2.7', '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
- name: Start MySQL
run: sudo systemctl start mysql.service
- name: Setup Runner MySQL
run: mysql --user=root --password=root -e 'create user runner@localhost'
- name: Run Tests
run: bundle exec rake test

0 comments on commit 4c2d860

Please sign in to comment.