Skip to content

Commit 2fe057a

Browse files
committed
github actions instead of travis
1 parent 122c5b2 commit 2fe057a

File tree

2 files changed

+42
-20
lines changed

2 files changed

+42
-20
lines changed

.github/workflows/ci.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: CI
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
test:
9+
name: Tests with Ruby ${{ matrix.ruby }} Rails ${{ matrix.rails }} Active Admin ${{ matrix.activeadmin }}
10+
runs-on: ubuntu-latest
11+
strategy:
12+
matrix:
13+
ruby:
14+
- 2.5
15+
- 2.6
16+
rails:
17+
- '5.2.0'
18+
- '6.0.0'
19+
activeadmin:
20+
- '1.4.0'
21+
- '2.0.0'
22+
- '2.6.0'
23+
exclude:
24+
- rails: '5.2.0'
25+
activeadmin: '2.6.0'
26+
- rails: '6.0.0'
27+
activeadmin: '1.4.0'
28+
- rails: '6.0.0'
29+
activeadmin: '2.0.0'
30+
env:
31+
RAILS: ${{ matrix.rails }}
32+
AA: ${{ matrix.activeadmin }}
33+
steps:
34+
- uses: actions/checkout@v2
35+
- uses: actions/setup-ruby@v1
36+
with:
37+
ruby-version: ${{ matrix.ruby }}
38+
- name: Run tests
39+
run: |
40+
gem install bundler -v '< 2'
41+
bundle install
42+
bundle exec rspec spec

.travis.yml

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

0 commit comments

Comments
 (0)