Skip to content

Commit 46e15e1

Browse files
committed
Add Github CI
1 parent 1ec5392 commit 46e15e1

File tree

1 file changed

+65
-0
lines changed

1 file changed

+65
-0
lines changed

.github/workflows/test.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: ruby-saml CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
name: Unit test
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os:
12+
- ubuntu-20.04
13+
- macos-latest
14+
- windows-latest
15+
ruby-version:
16+
- 2.1
17+
- 2.2
18+
- 2.3
19+
- 2.4
20+
- 2.5
21+
- 2.6
22+
- 2.7
23+
- 3.0
24+
- jruby-9.1
25+
- jruby-9.2
26+
exclude:
27+
- os: macos-latest
28+
ruby-version: 2.1
29+
- os: macos-latest
30+
ruby-version: 2.2
31+
- os: macos-latest
32+
ruby-version: 2.3
33+
- os: macos-latest
34+
ruby-version: 2.4
35+
- os: macos-latest
36+
ruby-version: 2.5
37+
- os: macos-latest
38+
ruby-version: jruby-9.1
39+
- os: macos-latest
40+
ruby-version: jruby-9.2
41+
- os: windows-latest
42+
ruby-version: 2.1
43+
- os: windows-latest
44+
ruby-version: jruby-9.1
45+
- os: windows-latest
46+
ruby-version: jruby-9.2
47+
- os: windows-latest
48+
ruby-version: jruby-9.3
49+
- os: windows-latest
50+
ruby-version: jruby-9.4
51+
- os: windows-latest
52+
ruby-version: truffleruby
53+
runs-on: ${{ matrix.os }}
54+
steps:
55+
- uses: actions/checkout@v4
56+
- name: Set up Ruby ${{ matrix.ruby-version }}
57+
uses: ruby/setup-ruby@v1
58+
with:
59+
ruby-version: ${{ matrix.ruby-version }}
60+
61+
- name: Install dependencies
62+
run: bundle install
63+
64+
- name: Run tests
65+
run: bundle exec rake

0 commit comments

Comments
 (0)