Skip to content

Commit 2bd6b2f

Browse files
Merge pull request #32 from danielmbrasil/chore/add-rspec-cli
add CI to run tests
2 parents 1e6854d + a41b727 commit 2bd6b2f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/test.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
-main
10+
11+
jobs:
12+
rspec:
13+
name: RSpec / Ruby ${{ matrix.ruby-version }}
14+
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
ruby-version: [3.0, 3.1, 3.2, 3.3, 3.4]
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Ruby
22+
uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: ${{ matrix.ruby-version }}
25+
26+
- name: Install dependencies
27+
run: bundle install
28+
29+
- name: Run tests
30+
run: bundle exec rspec

0 commit comments

Comments
 (0)