Skip to content

Commit

Permalink
[#106] CI workflow (#108)
Browse files Browse the repository at this point in the history
* [#106] CI workflow

* gem update --system

* fix
  • Loading branch information
jonhue committed Oct 10, 2019
1 parent 234883d commit 87fc798
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,29 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.5.x'
- '2.6.x'

name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: |
sudo apt-get install libsqlite3-dev
gem update --system
bundle install --jobs 4 --retry 3
- name: Run RuboCop
run: bundle exec rubocop
- name: Run RSpec specs
run: bundle exec rspec
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -263,8 +263,6 @@ end

## Testing

Tests are written with Shoulda on top of `Test::Unit` with Factory Girl being used instead of fixtures. Tests are run using rake.

1. Fork this repository
2. Clone your forked git locally
3. Install dependencies
Expand Down
17 changes: 0 additions & 17 deletions Rakefile

This file was deleted.

0 comments on commit 87fc798

Please sign in to comment.