Skip to content

Commit 707dc2e

Browse files
committed
replace travis ci script with github action
Since travis-ci.org has shut down, we no longer have functioning CI for pull requests. Let's translate this to a GitHub Actions workflow. Our set of actual tests is still pretty lousy, but this at least gets our basic sanity checks running again.
1 parent a25657d commit 707dc2e

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI/PR
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
10+
- name: ruby setup
11+
uses: ruby/setup-ruby@v1
12+
with:
13+
ruby-version: 2.7
14+
bundler-cache: true
15+
16+
- name: rails setup
17+
run: bundle exec rake db:create db:schema:load
18+
19+
- name: rubocop
20+
run: bundle exec rubocop -P
21+
22+
- name: rspec
23+
run: bundle exec rspec

.travis.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)