Skip to content

Commit

Permalink
Precheck generated tiny plugins files
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Aug 1, 2023
1 parent a117d6f commit 56b3df4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/skel-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Generate example skeletons
env:
FILES: auth block mod format
FILES: auth block mod format tiny
run: for file in $FILES; do php moodle/admin/tool/pluginskel/cli/generate.php $(realpath moodle/admin/tool/pluginskel/tests/examples/${file}.yaml); done

- name: PHP Lint
Expand Down
21 changes: 21 additions & 0 deletions tests/examples/tiny.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
component: tiny_example
name: Example Plugin
release: "0.1.0"
copyright: 2022 Andrew Lyons <andrew@nicols.co.uk>
features:
settings: true
privacy:
haspersonaldata: false
uselegacypolyfill: false
tiny_features:
buttons:
- name: startdemo
category: content
text: Start demo
menuitems:
- name: startdemo
category: file
text: 'Start the demo'
options:
- name: myFirstProperty
type: string

0 comments on commit 56b3df4

Please sign in to comment.