9
9
runs-on : ubuntu-18.04
10
10
strategy :
11
11
matrix :
12
- runtime : ['nodejs10', 'nodejs12']
12
+ runtime : ['nodejs10', 'nodejs12', 'nodejs14', 'nodejs16' ]
13
13
steps :
14
14
- name : Checkout code
15
15
uses : actions/checkout@v2
31
31
working-directory : ./test/conformance
32
32
run : npm install
33
33
34
- - name : Run HTTP conformance tests
34
+ - name : Run HTTP conformance tests using legacy API
35
35
uses :
GoogleCloudPlatform/functions-framework-conformance/[email protected]
36
36
with :
37
37
functionType : ' http'
40
40
workingDirectory : ' test/conformance'
41
41
cmd : " 'npm start -- --target=writeHttp --signature-type=http'"
42
42
43
- - name : Run event conformance tests
43
+ - name : Run event conformance tests using legacy API
44
44
uses :
GoogleCloudPlatform/functions-framework-conformance/[email protected]
45
45
with :
46
46
functionType : ' legacyevent'
@@ -49,11 +49,29 @@ jobs:
49
49
workingDirectory : ' test/conformance'
50
50
cmd : " 'npm start -- --target=writeLegacyEvent --signature-type=event'"
51
51
52
- - name : Run cloudevent conformance tests
52
+ - name : Run cloudevent conformance tests using legacy API
53
53
uses :
GoogleCloudPlatform/functions-framework-conformance/[email protected]
54
54
with :
55
55
functionType : ' cloudevent'
56
56
useBuildpacks : false
57
57
validateMapping : true
58
58
workingDirectory : ' test/conformance'
59
59
cmd : " 'npm start -- --target=writeCloudEvent --signature-type=cloudevent'"
60
+
61
+ - name : Run HTTP conformance tests using declarative API
62
+ uses :
GoogleCloudPlatform/functions-framework-conformance/[email protected]
63
+ with :
64
+ functionType : ' http'
65
+ useBuildpacks : false
66
+ validateMapping : false
67
+ workingDirectory : ' test/conformance'
68
+ cmd : " 'npm start -- --target=writeHttpDeclarative'"
69
+
70
+ - name : Run cloudevent conformance tests using declarative API
71
+ uses :
GoogleCloudPlatform/functions-framework-conformance/[email protected]
72
+ with :
73
+ functionType : ' cloudevent'
74
+ useBuildpacks : false
75
+ validateMapping : true
76
+ workingDirectory : ' test/conformance'
77
+ cmd : " 'npm start -- --target=writeCloudEventDeclarative'"
0 commit comments