Skip to content

Commit 32eb175

Browse files
committed
fix: update conformance tests to use --asgi flag
1 parent 8cb0667 commit 32eb175

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/conformance-asgi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,39 +52,39 @@ jobs:
5252
functionType: 'http'
5353
useBuildpacks: false
5454
validateMapping: false
55-
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http --signature-type http --gateway asgi'"
55+
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http --signature-type http --asgi'"
5656

5757
- name: Run CloudEvents conformance tests
5858
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
5959
with:
6060
functionType: 'cloudevent'
6161
useBuildpacks: false
6262
validateMapping: false
63-
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_cloud_event --signature-type cloudevent --gateway asgi'"
63+
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_cloud_event --signature-type cloudevent --asgi'"
6464

6565
- name: Run HTTP conformance tests declarative
6666
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
6767
with:
6868
functionType: 'http'
6969
useBuildpacks: false
7070
validateMapping: false
71-
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http_declarative --gateway asgi'"
71+
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http_declarative --asgi'"
7272

7373
- name: Run CloudEvents conformance tests declarative
7474
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
7575
with:
7676
functionType: 'cloudevent'
7777
useBuildpacks: false
7878
validateMapping: false
79-
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_cloud_event_declarative --gateway asgi'"
79+
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_cloud_event_declarative --asgi'"
8080

8181
- name: Run HTTP concurrency tests declarative
8282
uses: GoogleCloudPlatform/functions-framework-conformance/action@72a4f36b10f1c6435ab1a86a9ea24bda464cc262 # v1.8.6
8383
with:
8484
functionType: 'http'
8585
useBuildpacks: false
8686
validateConcurrency: true
87-
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http_declarative_concurrent --gateway asgi'"
87+
cmd: "'functions-framework --source tests/conformance/async_main.py --target write_http_declarative_concurrent --asgi'"
8888

8989
# Note: Event (legacy) and Typed tests are not supported in ASGI mode
9090
# Note: validateMapping is set to false for CloudEvent tests because ASGI mode

0 commit comments

Comments
 (0)