Skip to content

Commit

Permalink
Add resource tests (#36)
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
NeonDaniel authored Apr 3, 2023
1 parent 6bbadb2 commit 20186ae
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/skill_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
uses: neongeckocom/.github/.github/workflows/skill_tests.yml@master
skill_intent_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_intents.yml@master
# skill_resource_tests:
# uses: neongeckocom/.github/.github/workflows/skill_test_resources.yml@master
skill_resource_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_resources.yml@master
skill_install_tests:
uses: neongeckocom/.github/.github/workflows/skill_test_installation.yml@master
55 changes: 55 additions & 0 deletions test/test_resources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Specify resources to test here.

# Specify languages to be tested
languages:
- "en-us"

# vocab is lowercase .voc file basenames
vocab:
- are
- born
- email
- first
- how
- last
- made
- name
- what
- when
- where
- who
- you

# dialog is .dialog file basenames (case-sensitive)
dialog:
- birthplace
- creator
- how_am_i
- my_email_address
- my_name
- neon
- what_am_i
- when_was_i_born
- where_am_i
- where_was_i_born
- who_am_i
- who_made_me
- word_first_name
- word_last_name
- word_name
# regex entities, not necessarily filenames
regex: []
intents:
# Padatious intents are the `.intent` file names
padatious:
- WhatAreYou.intent
- WhatIsYourEmail.intent
- WhenWereYouBorn.intent
- WhereAreYou.intent
- WhereWereYouBorn.intent
- WhoAreYou.intent
- WhoMadeYou.intent
# Adapt intents are the name passed to the constructor
adapt:
- HowAreYou
- WhatIsYourName

0 comments on commit 20186ae

Please sign in to comment.