Skip to content

Commit aee587a

Browse files
Copilotnhorton
andcommitted
Add GitHub Actions CI workflow for running tests
Co-authored-by: nhorton <[email protected]>
1 parent 6eb668e commit aee587a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)