Skip to content

Commit

Permalink
feat: introduce strongly typed function signature (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge authored Jun 28, 2023
1 parent 6efdb75 commit 65f3f34
Show file tree
Hide file tree
Showing 14 changed files with 1,494 additions and 111 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/conformance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ jobs:
- name: Install conformance client
uses: GoogleCloudPlatform/functions-framework-conformance/.github/actions/client/install@5f2a796b58f099d749e70ecc83f531f6701c64af # v1.8.3
with:
client-version: v1.7.0
client-version: v1.8.3
cache-path: ~/client
cache-key: conformance-client-v1.7.0
cache-key: conformance-client-v1.8.3

- name: Run HTTP conformance tests using legacy API
working-directory: 'test/conformance'
Expand Down Expand Up @@ -82,6 +82,16 @@ jobs:
-validate-mapping=false \
-cmd="npm start -- --target=writeHttpDeclarative"
- name: Run Typed conformance tests using declarative API
working-directory: 'test/conformance'
run: |
~/client \
-type=http \
-declarative-type=typed \
-buildpacks=false \
-validate-mapping=false \
-cmd="npm start -- --target=writeTypedDeclarative"
- name: Run cloudevent conformance tests using declarative API
working-directory: 'test/conformance'
run: |
Expand Down
Loading

0 comments on commit 65f3f34

Please sign in to comment.