Skip to content

Commit cdaf788

Browse files
Updating the sf_cli_integration test for function run
1 parent e000a03 commit cdaf788

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/sf_cli_integration.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,15 +255,14 @@ jobs:
255255
256256
# ── Function: run ─────────────────────────────────────────────────────────
257257

258-
- name: '[function] run — sf data-code-extension function run --entrypoint testFunction/payload/entrypoint.py --test-with testFunction/payload/tests/test.json -o dev1'
258+
- name: '[function] run — sf data-code-extension function run --entrypoint testFunction/payload/entrypoint.py --test-with testFunction/payload/tests/test.json '
259259
run: |
260260
sf data-code-extension function run \
261261
--entrypoint testFunction/payload/entrypoint.py \
262-
--test-with testFunction/payload/tests/test.json \
263-
-o dev1 || {
264-
echo "::error::sf data-code-extension function run FAILED. Check mock server output above; the --entrypoint flag or SF CLI org auth contract may have changed."
265-
exit 1
266-
}
262+
--test-with testFunction/payload/tests/test.json || {
263+
echo "::error::sf data-code-extension function run FAILED. Check mock server output above; the --entrypoint flag or SF CLI org auth contract may have changed."
264+
exit 1
265+
}
267266
268267
# ── Function: deploy ─────────────────────────────────────────────────────
269268

0 commit comments

Comments
 (0)