Skip to content

Commit fdaf7bf

Browse files
authored
Merge pull request #502 from seejohnrun/github-actions
Switch from Travis-CI to GitHub Actions
2 parents 36f6d24 + 11cbd19 commit fdaf7bf

File tree

3 files changed

+30
-42
lines changed

3 files changed

+30
-42
lines changed

.github/workflows/tests.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
test:
13+
strategy:
14+
matrix:
15+
rails: ['5.2', '6.0.4', '6.1']
16+
ruby: ['2.6', '2.7', '3.0']
17+
exclude:
18+
- rails: '5.2'
19+
ruby: '3.0'
20+
runs-on: ubuntu-latest
21+
env:
22+
RAILS_VERSION: ${{ matrix.rails }}
23+
steps:
24+
- uses: actions/checkout@v2
25+
- uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: ${{ matrix.ruby }}
28+
bundler-cache: true
29+
- run: bundle exec rake

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ice_cube - Easy schedule expansion
22

3-
[![Build Status][travis-ice_cube-badge_image]][travis-ice_cube]
3+
[![Tests](https://github.com/seejohnrun/ice_cube/workflows/Tests/badge.svg)](https://github.com/seejohnrun/ice_cube/actions?query=workflow%3ATests)
44
[![Gem Version](https://badge.fury.io/rb/ice_cube.svg)](http://badge.fury.io/rb/ice_cube)
55

66
```bash

0 commit comments

Comments
 (0)