Skip to content

Commit d17449b

Browse files
committed
ci
1 parent ffa85b2 commit d17449b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
- name: Setup corepack
4545
run: |
4646
corepack enable npm
47+
- uses: aws-actions/setup-sam@v2
48+
with:
49+
use-installer: true
4750
- name: Install
4851
run: |
4952
npm ci
@@ -53,6 +56,11 @@ jobs:
5356
run: |
5457
cd example
5558
npm run cdk synth
59+
- name: Test
60+
run: |
61+
cd example
62+
sam local invoke -t ./cdk.out/LambdaRubyExample.template.json RubyFunction2_7
63+
sam local invoke -t ./cdk.out/LambdaRubyExample.template.json RubyFunction3_2
5664
5765
test-finish:
5866
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)