Split tests (#88)
This commit is contained in:
21
source/plugins/activity/tests.yml
Normal file
21
source/plugins/activity/tests.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
- name: Activity plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
|
||||
- name: Activity plugin (filtered)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
plugin_activity_filter: pr, issue
|
||||
|
||||
- name: Activity plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: yes
|
||||
plugin_activity_limit: 100
|
||||
plugin_activity_days: 14
|
||||
plugin_activity_filter: all
|
||||
60
source/plugins/anilist/tests.yml
Normal file
60
source/plugins/anilist/tests.yml
Normal file
@@ -0,0 +1,60 @@
|
||||
- name: Anilist plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
|
||||
- name: Anilist plugin (manga only)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: manga
|
||||
|
||||
- name: Anilist plugin (anime only)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: anime
|
||||
|
||||
- name: Anilist plugin (favorites section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: favorites
|
||||
|
||||
- name: Anilist plugin (watching/reading section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: watching, reading
|
||||
|
||||
- name: Anilist plugin (characters section)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_sections: characters
|
||||
|
||||
- name: Anilist plugin (additional options)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_limit: 0
|
||||
plugin_anilist_shuffle: no
|
||||
plugin_anilist_user: user
|
||||
|
||||
- name: Anilist plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: yes
|
||||
plugin_anilist_medias: manga, anime
|
||||
plugin_anilist_sections: favorites, watching, reading, characters
|
||||
plugin_anilist_limit: 0
|
||||
plugin_anilist_shuffle: no
|
||||
plugin_anilist_user: user
|
||||
45
source/plugins/base/tests.yml
Normal file
45
source/plugins/base/tests.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
- name: Base (header)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: header
|
||||
base_header: yes # For web instance
|
||||
|
||||
- name: Base (activity)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: activity
|
||||
base_activity: yes # For web instance
|
||||
|
||||
- name: Base (community)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: community
|
||||
base_community: yes # For web instance
|
||||
|
||||
- name: Base (repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
base_repositories: yes # For web instance
|
||||
|
||||
- name: Base (metadata)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: metadata
|
||||
base_metadata: yes # For web instance
|
||||
|
||||
- name: Base (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: header, activity, community, repositories, metadata
|
||||
base_header: yes # For web instance
|
||||
base_activity: yes # For web instance
|
||||
base_community: yes # For web instance
|
||||
base_repositories: yes # For web instance
|
||||
base_metadata: yes # For web instance
|
||||
26
source/plugins/core/tests.yml
Normal file
26
source/plugins/core/tests.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
- name: Image output (jpeg)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_output: jpeg
|
||||
|
||||
- name: Image output (png)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_output: png
|
||||
|
||||
- name: Disable animations
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
config_animations: no
|
||||
|
||||
- name: Community templates
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: "@classic"
|
||||
setup_community_templates: "lowlighter/metrics@master:classic"
|
||||
modes:
|
||||
- action
|
||||
5
source/plugins/followup/tests.yml
Normal file
5
source/plugins/followup/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Follow-up plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: yes
|
||||
5
source/plugins/gists/tests.yml
Normal file
5
source/plugins/gists/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Gists plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_gists: yes
|
||||
30
source/plugins/habits/tests.yml
Normal file
30
source/plugins/habits/tests.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
- name: Habits plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
|
||||
- name: Habits plugin (charts)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: no
|
||||
plugin_habits_charts: yes
|
||||
config_timezone: Europe/Paris
|
||||
|
||||
- name: Habits plugin (facts)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: yes
|
||||
|
||||
- name: Habits plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: yes
|
||||
plugin_habits_facts: yes
|
||||
plugin_habits_charts: yes
|
||||
config_timezone: Europe/Paris
|
||||
20
source/plugins/isocalendar/tests.yml
Normal file
20
source/plugins/isocalendar/tests.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- name: Isocalendar plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
|
||||
- name: Isocalendar plugin (half-year)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
plugin_isocalendar_duration: half-year
|
||||
|
||||
|
||||
- name: Isocalendar plugin (full-year)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: yes
|
||||
plugin_isocalendar_duration: full-year
|
||||
44
source/plugins/languages/tests.yml
Normal file
44
source/plugins/languages/tests.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
- name: Language plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
|
||||
- name: Language plugin (ignored languages)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_ignored: html, css, dockerfile
|
||||
|
||||
|
||||
- name: Language plugin (skipped repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_skipped: metrics
|
||||
|
||||
- name: Language plugin (custom color set)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_colors: complementary
|
||||
|
||||
- name: Language plugin (with details)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_details: percentage
|
||||
|
||||
- name: Language plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: yes
|
||||
plugin_languages_ignored: html, css, dockerfile
|
||||
plugin_languages_skipped: metrics
|
||||
plugin_languages_colors: rainbow
|
||||
plugin_languages_details: bytes-size, percentage
|
||||
7
source/plugins/lines/tests.yml
Normal file
7
source/plugins/lines/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: Lines plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
plugin_lines: yes
|
||||
|
||||
30
source/plugins/music/tests.yml
Normal file
30
source/plugins/music/tests.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
- name: Music plugin (playlist - apple)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: https://embed.music.apple.com/fr/playlist/usr-share/pl.u-V9D7m8Etjmjd0D
|
||||
|
||||
- name: Music plugin (playlist - spotify)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: https://open.spotify.com/embed/playlist/3nfA87oeJw4LFVcUDjRcqi
|
||||
|
||||
- name: Music plugin (recent - spotify)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_provider: spotify
|
||||
|
||||
- name: Music plugin (recent - lastfm)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_TOKEN
|
||||
plugin_music: yes
|
||||
plugin_music_provider: lastfm
|
||||
plugin_music_user: RJ
|
||||
39
source/plugins/pagespeed/tests.yml
Normal file
39
source/plugins/pagespeed/tests.yml
Normal file
@@ -0,0 +1,39 @@
|
||||
- name: PageSpeed plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
|
||||
- name: PageSpeed plugin (different url)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_url: github.com
|
||||
|
||||
- name: PageSpeed plugin (detailed)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_detailed: yes
|
||||
|
||||
- name: PageSpeed plugin (screenshot)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_screenshot: yes
|
||||
|
||||
- name: PageSpeed plugin (complete)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_detailed: yes
|
||||
plugin_pagespeed_screenshot: yes
|
||||
63
source/plugins/people/tests.yml
Normal file
63
source/plugins/people/tests.yml
Normal file
@@ -0,0 +1,63 @@
|
||||
- name: People plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
|
||||
- name: People plugin (followers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: followers
|
||||
|
||||
- name: People plugin (following)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: following
|
||||
|
||||
- name: People plugin (sponsoring)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: sponsoring
|
||||
|
||||
- name: People plugin (sponsors)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: sponsors
|
||||
|
||||
- name: People plugin (stargazers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: stargazers
|
||||
|
||||
- name: People plugin (watchers)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: watchers
|
||||
|
||||
- name: People plugin (thanks)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_types: thanks
|
||||
plugin_people_thanks: lowlighter
|
||||
|
||||
- name: People plugin (identicons)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: yes
|
||||
plugin_people_identicons: yes
|
||||
|
||||
7
source/plugins/posts/tests.yml
Normal file
7
source/plugins/posts/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: Posts plugin (dev.to)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_posts: yes
|
||||
plugin_posts_source: dev.to
|
||||
plugin_posts_user: lowlighter
|
||||
22
source/plugins/projects/tests.yml
Normal file
22
source/plugins/projects/tests.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: Projects plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
|
||||
- name: Projects plugin (repositories)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_limit: 0
|
||||
|
||||
- name: Projects plugin (descriptions)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_limit: 0
|
||||
plugin_projects_descriptions: yes
|
||||
5
source/plugins/stargazers/tests.yml
Normal file
5
source/plugins/stargazers/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Stargazers plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_stargazers: yes
|
||||
5
source/plugins/stars/tests.yml
Normal file
5
source/plugins/stars/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Stars plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_stars: yes
|
||||
69
source/plugins/topics/tests.yml
Normal file
69
source/plugins/topics/tests.yml
Normal file
@@ -0,0 +1,69 @@
|
||||
- name: Topics plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
|
||||
- name: Topics plugin (starred - starred sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: starred
|
||||
|
||||
- name: Topics plugin (starred - activity sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: activity
|
||||
|
||||
- name: Topics plugin (starred - stars sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: stars
|
||||
|
||||
- name: Topics plugin (starred - random sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: random
|
||||
|
||||
- name: Topics plugin (mastered - starred sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: starred
|
||||
|
||||
- name: Topics plugin (mastered - activity sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: activity
|
||||
|
||||
- name: Topics plugin (mastered - stars sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: stars
|
||||
|
||||
- name: Topics plugin (mastered - random sort)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: random
|
||||
6
source/plugins/traffic/tests.yml
Normal file
6
source/plugins/traffic/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: Traffic plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOCKEN
|
||||
base: repositories
|
||||
plugin_traffic: yes
|
||||
14
source/plugins/tweets/tests.yml
Normal file
14
source/plugins/tweets/tests.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: Tweets plugin (default)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
|
||||
- name: Tweets plugin (different user)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_user: twitterdev
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
Reference in New Issue
Block a user