Remove defunct .travis.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |