Skip to content

Commit e4312fb

Browse files
authored
Merge pull request #354 from interagent/bf/github-actions
add GitHub Actions
2 parents 40463bb + ce2cd06 commit e4312fb

File tree

3 files changed

+27
-14
lines changed

3 files changed

+27
-14
lines changed

.github/workflows/ruby.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
name: "Ruby ${{ matrix.ruby-version }}"
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
ruby-version: ['3.2', '3.3', '3.4']
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby-version }}
22+
bundler-cache: true
23+
- name: Run tests
24+
run: bundle exec rake
25+
env:
26+
MT_COMPAT: 'true'

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prmd [![Travis Status](https://travis-ci.org/interagent/prmd.svg)](https://travis-ci.org/interagent/prmd)
1+
# Prmd
22

33
[![Gem Version](https://badge.fury.io/rb/prmd.svg)](http://badge.fury.io/rb/prmd)
44

0 commit comments

Comments
 (0)