Skip to content

Commit 5e18ded

Browse files
authored
Merge pull request #5 from kenichiice/github-actions
GitHub Actionsを使うようにする
2 parents ec1bf21 + 57fe0c2 commit 5e18ded

File tree

5 files changed

+32
-16
lines changed

5 files changed

+32
-16
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Test
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
schedule:
8+
- cron: '34 18 * * *'
9+
jobs:
10+
rake-test:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-latest, macos-latest, windows-latest]
15+
ruby: [head, 2.7, 2.6, 2.5, 2.4, 2.3, jruby, truffleruby]
16+
exclude:
17+
- os: windows-latest
18+
ruby: truffleruby
19+
runs-on: ${{ matrix.os }}
20+
# continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: ruby/setup-ruby@v1
24+
with:
25+
ruby-version: ${{ matrix.ruby }}
26+
bundler-cache: true
27+
# - run: bundle install
28+
- run: bundle exec rake test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/.bundle/
22
/.yardoc
33
/_yardoc/
4+
/Gemfile.lock
45
/coverage/
56
/doc/
67
/pkg/
78
/spec/reports/
89
/tmp/
10+
/vendor/

.travis.yml

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

README.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[English](README.md)]
22

3-
[![Build Status](https://travis-ci.org/kenichiice/test-unit-runner-junitxml.svg?branch=master)](https://travis-ci.org/kenichiice/test-unit-runner-junitxml)
3+
[![Test](https://github.com/kenichiice/test-unit-runner-junitxml/workflows/Test/badge.svg)](https://github.com/kenichiice/test-unit-runner-junitxml/actions?query=workflow%3ATest+branch%3Amaster)
44

55
# Test::Unit::Runner::JUnitXml
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[日本語](README.ja.md)]
22

3-
[![Build Status](https://travis-ci.org/kenichiice/test-unit-runner-junitxml.svg?branch=master)](https://travis-ci.org/kenichiice/test-unit-runner-junitxml)
3+
[![Test](https://github.com/kenichiice/test-unit-runner-junitxml/workflows/Test/badge.svg)](https://github.com/kenichiice/test-unit-runner-junitxml/actions?query=workflow%3ATest+branch%3Amaster)
44

55
# Test::Unit::Runner::JUnitXml
66

0 commit comments

Comments
 (0)