Skip to content

Commit ef80e9e

Browse files
committed
Add GH workflow for tests
1 parent f98862d commit ef80e9e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/test.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Automated tests
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
8+
- main
9+
10+
jobs:
11+
test:
12+
name: test
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
ruby-version: ['3.1', '3.2']
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: ${{ matrix.ruby-version }}
22+
bundler-cache: true
23+
- run: bundle exec rspec

0 commit comments

Comments
 (0)