Skip to content

Commit 2ad0f44

Browse files
committed
Add CI
Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent 9a4d461 commit 2ad0f44

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
on:
3+
push:
4+
pull_request:
5+
dispatch_workflow:
6+
7+
concurrency:
8+
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }}
9+
cancel-in-progress: true
10+
11+
permissions: read-all
12+
13+
jobs:
14+
test:
15+
runs-on: ${{ matrix.os }}
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
ruby:
20+
- 3.2
21+
- 3.3
22+
- 3.4
23+
os:
24+
- ubuntu-latest
25+
- windows-latest
26+
name: Test with Ruby ${{ matrix.ruby }} on ${{ matrix.os }}
27+
steps:
28+
- uses: actions/checkout@v4
29+
- uses: ruby/setup-ruby@v1
30+
with:
31+
ruby-version: ${{ matrix.ruby }}
32+
- name: unit testing
33+
env:
34+
CI: true
35+
run: |
36+
bundle exec rake test TESTOPTS="-v --no-show-detail-immediately"

0 commit comments

Comments
 (0)