Skip to content

Commit a5b8fb4

Browse files
committed
Test 4
Signed-off-by: Jing Chen <[email protected]>
1 parent 816193f commit a5b8fb4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
run: |
9898
git config --local user.name github-actions[bot]
9999
git config --local user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
100+
git status
100101
if ! git diff --exit-code; then
101102
git add tests/results/
102103
git commit -m "GH Action updated results file when running examples $(date)"

tests/test_examples_run_jing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ def test_valid_programs(capsys: CaptureFixture[str], monkeypatch: MonkeyPatch) -
212212
result_dir_name, result_file_name, str(result)
213213
)
214214

215+
print(f"Results from Ollama running on GH Actions: {str(result)}")
216+
215217
# Evaluate the results again. If fails again, then consider this program as failing
216218
if not __find_and_compare_results(pdl_file_name, str(result)):
217219
wrong_results[str(pdl_file_name)] = {

0 commit comments

Comments
 (0)