Skip to content

Commit

Permalink
Run test for CDK examples unconditionally
Browse files Browse the repository at this point in the history
This fixes #66.
  • Loading branch information
tillrohrmann committed Jan 15, 2024
1 parent 974ed7a commit dc7de70
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ jobs:
build-root-directory: kotlin/hello-world-lambda

# CDK projects are a hybrid of TypeScript CDK stack + platform-specific handler code; the top-level npm CDK build
# is responsible for verifying the language-specific handler cod. They are also not a part of the TypeScript
# is responsible for verifying the language-specific handler code. They are also not a part of the TypeScript
# examples workspace, so we test them separately here.
- name: Test kotlin/hello-world-lambda-cdk
if: github.event.inputs.sdkTypescriptVersion != '' && github.event.inputs.sdkJavaVersion != ''
run: npm --prefix kotlin/hello-world-lambda-cdk run verify
run: |
npm --prefix kotlin/hello-world-lambda-cdk install
npm --prefix kotlin/hello-world-lambda-cdk run verify
build-ts:
# prevent from running on forks
Expand Down

0 comments on commit dc7de70

Please sign in to comment.