File tree Expand file tree Collapse file tree 3 files changed +8
-22
lines changed
Expand file tree Collapse file tree 3 files changed +8
-22
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,10 @@ runs:
3030 ref : ${{ inputs.head-ref }}
3131 fetch-depth : 0 # Full history needed for fetch/rebase
3232 - name : Patch tests/test_examples_run.yaml check with modified files
33- uses : fjogeleit/yaml-update-action@main
34- with :
35- changes : |
36- {
37- "tests/test_examples_run.yaml": {
38- "check": ${{ inputs.check }}
39- }
40- }
41- commitChange : false
33+ shell : bash
34+ run : |
35+ yq -i '.check = (${{ inputs.check }} | from_json )' tests/test_examples_run.yaml
36+
4237 - name : Print test Run Examples config
4338 shell : bash
4439 run : cat tests/test_examples_run.yaml
Original file line number Diff line number Diff line change 6363 fetch-depth : 0
6464 - name : Patch tests/test_examples_run.yaml with update_results to False, only for the last matrix version
6565 if : ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
66- uses : fjogeleit/yaml-update-action@main
67- with :
68- changes : |
69- {
70- "tests/test_examples_run.yaml": {
71- "update_results": false
72- }
73- }
74- commitChange : false
66+ shell : bash
67+ run : |
68+ yq -i '.update_results = ('false')' tests/test_examples_run.yaml
7569 - name : Push the new run-examples yaml config
7670 if : ${{ steps.parse-run-examples-config.outputs.update_results && matrix.python-version == '3.13' }}
7771 shell : bash
Original file line number Diff line number Diff line change 11update_results : false
2- check :
3- - examples/chatbot/chatbot.pdl
4- - examples/demo/9-react.pdl
5- - examples/react/demo.pdl
2+ check : ["s1", "s2"]
63skip :
74 - examples/cldk/cldk-assistant.pdl
85 - examples/gsm8k/gsm8.pdl
You can’t perform that action at this time.
0 commit comments