Skip to content

Commit 8c02dc4

Browse files
committed
(ruby): Add Action to test Ruby lambda
1 parent a2849d4 commit 8c02dc4

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test-ruby.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test Ruby Lambda
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Ruby
18+
uses: ruby/setup-ruby@v1
19+
with:
20+
working-directory: ./lambda/ruby
21+
bundler-cache: true
22+
23+
- name: Install dependencies
24+
run: |
25+
cd lambda/ruby
26+
bundle install
27+
28+
- name: Run tests
29+
run: |
30+
cd lambda/ruby
31+
bundle exec rake test

0 commit comments

Comments
 (0)