waterfoul/.github/workflows/ruby.yml
2020-05-16 12:36:05 +10:00

22 lines
445 B
YAML

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt update -qq && sudo apt install libsdl2-dev
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake