Skip to content

Commit 633e25f

Browse files
Updating sf_cli_integration.yml
1 parent 21b738e commit 633e25f

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/sf_cli_integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ jobs:
200200
echo "::error::testFunction/.datacustomcode_proj/sdk_config.json not found after function init."
201201
exit 1
202202
}
203+
test -f testFunction/payload/tests/test.json || {
204+
echo "::error::testFunction/payload/tests/test.json not found after function init."
205+
exit 1
206+
}
203207
204208
# ── Function: scan ────────────────────────────────────────────────────────
205209

@@ -251,7 +255,7 @@ jobs:
251255
252256
# ── Function: run ─────────────────────────────────────────────────────────
253257

254-
- name: '[function] run — sf data-code-extension function run --entrypoint testFunction/payload/entrypoint.py -o dev1'
258+
- name: '[function] run — sf data-code-extension function run --entrypoint testFunction/payload/entrypoint.py --test_with testFunction/payload/tests/test.json -o dev1'
255259
run: |
256260
sf data-code-extension function run \
257261
--entrypoint testFunction/payload/entrypoint.py \
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Packages required for the chunking function
2+
langchain-text-splitters>=0.3.0

0 commit comments

Comments
 (0)