Skip to content

Commit 47f1dd6

Browse files
authored
test: extend tauri cli github actions tests (#745)
This should now cover all of the UI demos. Signed-off-by: Nick Mitchell <[email protected]>
1 parent bf86561 commit 47f1dd6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/tauri-cli.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,14 @@ jobs:
4545
# 1. `run` subcommand works without any arguments
4646
pdl run | grep Usage
4747
48-
# 2. `run` subcommand works with demo1.pdl
48+
# 2. `run` subcommand works with UI demos (yaml source)
4949
pdl run ./demos/demo1.pdl | grep 'write a hello'
5050
51+
# 3. `run` subcommand works with UI demos (json source)
52+
# demo8 uses a private model? not sure
53+
for i in ./src/demos/*.json
54+
do if [[ $(basename $i) != "demo8.json" ]]; then pdl run $i; fi
55+
done
56+
5157
- name: Tear down xvfb
5258
run: killall Xvfb

0 commit comments

Comments
 (0)