Skip to content

Commit ed3123c

Browse files
committed
Final test run
Signed-off-by: Jing Chen <[email protected]>
1 parent b9ba359 commit ed3123c

File tree

4 files changed

+2
-376
lines changed

4 files changed

+2
-376
lines changed

.github/workflows/run-examples-jing.yml

Lines changed: 0 additions & 103 deletions
This file was deleted.

.github/workflows/run-examples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
OLLAMA_GHACTIONS_RESULTS: true
9898
run: py.test -v --capture=tee-sys -rfE -s tests/test_examples_run.py
9999
- name: Update example result files (if any) generated from Ollama running on GH Actions
100+
if: matrix.python-version == '3.11'
100101
run: |
101102
git config --local user.name github-actions[bot]
102103
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"

tests/test_examples_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Skip structure decoding example (Jing doesn't have WATSONX API KEY)
4343
pathlib.Path("examples") / "tutorial" / "structured_decoding.pdl",
4444
# OUtput result include trace (and thus timing) for some reason. Investigate why
45-
pathlib.Path("examples") / "react" / "react_call.pdl", # Very non-deterministic
45+
pathlib.Path("examples") / "react" / "react_call.pdl",
4646
pathlib.Path("pdl-live-react") / "demos" / "error.pdl",
4747
pathlib.Path("pdl-live-react") / "demos" / "demo1.pdl",
4848
pathlib.Path("pdl-live-react") / "demos" / "demo2.pdl",

tests/test_examples_run_jing.py

Lines changed: 0 additions & 272 deletions
This file was deleted.

0 commit comments

Comments
 (0)