Commit a9d2f6b
Introducing Run Examples check in PRs (#908)
* Pr pipeline 2 (#5)
* Cleaning up run examples pipeline
Signed-off-by: Jing Chen <[email protected]>
Rm run examples composite
Signed-off-by: Jing Chen <[email protected]>
Halt early if no file patch
Signed-off-by: Jing Chen <[email protected]>
Better msg
Signed-off-by: Jing Chen <[email protected]>
Modify some PDL files
Signed-off-by: Jing Chen <[email protected]>
Revert revisions
Signed-off-by: Jing Chen <[email protected]>
Modify some PDL programs
Signed-off-by: Jing Chen <[email protected]>
Fix if
Signed-off-by: Jing Chen <[email protected]>
Composite run examples
Signed-off-by: Jing Chen <[email protected]>
Checkout before using composite
Test if
Test if again
Rm bash test
Fix unfound path
Update if check
Delete a folder and see if test runs
Bring back deleted example. Expects test to run
Test if examples config is patched
Mv yaml patch to composite action
Try another patch strategy
Change some files
Checkout again in run examples
Modify files
Typo in composite action
Use json in check parse
Try to escape json
Use changes instead in yaml action
Bring back Ollama set up
Gather new results from GH env
Clean up workflows
Fix lint
Modify chatbot example
Fix run examples config file
* Add possible results for react examples
* Preserve trailing white space
* See if a commit is pushed on my behalf
* Rename config file
* Diff pdl file
* Check if commit happens despite pytet failures
* Allow pytest failure and continue run
* github-actions[bot]: Updated results file when running examples on Mon Apr 7 23:24:42 UTC 2025
Signed-off-by: github-actions[bot] <[email protected]>
* Set max parallel to 1 to prevent race conditions
* See if yaml action is triggered
* Change master branch
* Fix pytest
* Set update results to true
* Test yaml actio again
* Update result to true
* Reverting update_results to False. If you wish to update again, change locally and push with change.
* WRite permissions
* Reverting update_results to False. If you wish to update again, change locally and push with change.
* Don't commit using yaml action
* Set update results to true
* github-actions[bot]: Updated results file when running examples on Tue Apr 8 20:11:04 UTC 2025
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Reverting update_results to False.
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Try pytest failure
* Test pytest behavior again
* Test set +e
* Test again
* Set update to true to see if changed-files can capture results
* PR test
* github-actions[bot]: Updated results file when running examples
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* github-actions[bot]: Reverting update_result to false
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Test only with PR, not push
* github-actions[bot]: Updated results file when running examples
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* github-actions[bot]: Reverting update_result to false
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* No pdl file change
* Clean up and fix run examples nightly
Signed-off-by: Jing Chen <[email protected]>
* Fix empty parse
* Fix
* Bring back more models on ollama set up
* Contrib readme updates
---------
Signed-off-by: github-actions[bot] <[email protected]>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Jing Chen <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <75508867+github-actions[bot][email protected]>
Get new results for failing progs
github-actions[bot]: Run examples: updated result files on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions[bot]: Run examples: reverting update_result to false on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
See if ollama is cached
Try caching ollama
Set up Ollama outside composite action
Revert changes
Update runexamples config
Signed-off-by: Jing Chen <[email protected]>
* Update contrib readme
Signed-off-by: Jing Chen <[email protected]>
* Get test results for nightly run
Signed-off-by: Jing Chen <[email protected]>
* Update results on all files
github-actions[bot]: Run examples: reverting update_result to false on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions[bot]: Run examples: updated result files on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Revert patches
Signed-off-by: Jing Chen <[email protected]>
* Small fix
Signed-off-by: Jing Chen <[email protected]>
* Rm dependency on yaml actions
* Add repo to checkout
* Update checkout ref
* Dont check out again
* Rm another checkout
* Rm checkout refs
* Fix yq
* Configure git and try again
* Fix source repo name
* Checkout fix
* Fix ref
* github-actions[bot]: Run examples: reverting update_result to false on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Try push again
* Fix update results bool
* Try another push
* Try using secrets
* github-actions[bot]: Run examples: reverting update_result to false on your behalf
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Don't use composite action in pr
* Refine bool comparison
* Don't cache ollama
* Add patch yaml step
* Test if PAT works
* Add checkout step
* Checkout modification
* Update with feedback
Signed-off-by: Jing Chen <[email protected]>
* Fix checkout
Signed-off-by: Jing Chen <[email protected]>
* Checkout fix
Signed-off-by: Jing Chen <[email protected]>
* Checkout fix 2
Signed-off-by: Jing Chen <[email protected]>
* Checkout fix 3
Signed-off-by: Jing Chen <[email protected]>
* Update code
Signed-off-by: Jing Chen <[email protected]>
* Update results
Signed-off-by: Jing Chen <[email protected]>
* Enable parallel runs
Signed-off-by: Jing Chen <[email protected]>
---------
Signed-off-by: Jing Chen <[email protected]>
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent b0c37c5 commit a9d2f6b
File tree
44 files changed
+904
-357
lines changed- .github
- actions
- ollama
- run-examples
- workflows
- docs
- examples
- chatbot
- demo
- react
- tests
- results
- examples
- chatbot
- code
- demo
- fibonacci
- react
- teacher
- tutorial
- programs
- pdl-live-react/src-tauri/tests/cli
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+904
-357
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | | - | |
19 | 17 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments