tests: auto-generated from examples.yml (#773) [skip ci]
This commit is contained in:
@@ -14,6 +14,7 @@ describe("Check files editions (checkout your files if needed)", () => {
|
||||
"source/templates/README.md",
|
||||
"action.yml",
|
||||
"settings.example.json",
|
||||
"tests/plugins/*",
|
||||
])("%s", async file => expect((await diff()).includes(file)).toBe(false)))
|
||||
describe("Repository level files were not modified", () =>
|
||||
void test.each([
|
||||
@@ -27,6 +28,7 @@ describe("Check files editions (checkout your files if needed)", () => {
|
||||
".github/readme/partials/introduction.md",
|
||||
".github/workflows/*",
|
||||
".github/FUNDING.yml",
|
||||
".github/examples.mjs",
|
||||
".github/index.mjs",
|
||||
".github/release.mjs",
|
||||
".github/markdown_example.mjs",
|
||||
|
||||
@@ -96,7 +96,7 @@ const metadata = JSON.parse(`${
|
||||
const tests = []
|
||||
for (const name in metadata.plugins) {
|
||||
const cases = yaml
|
||||
.load(fs.readFileSync(path.join(__dirname, "../source/plugins", name, "tests.yml"), "utf8"))
|
||||
.load(fs.readFileSync(path.join(__dirname, "../tests/plugins", name, "tests.yml"), "utf8"))
|
||||
?.map(({ name: test, with: inputs, modes = [], timeout }) => {
|
||||
const skip = new Set(Object.entries(metadata.templates).filter(([_, { readme: { compatibility } }]) => !compatibility[name]).map(([template]) => template))
|
||||
if (!(metadata.plugins[name].supports.includes("repository")))
|
||||
|
||||
16
tests/plugins/achievements/tests.yml
Normal file
16
tests/plugins/achievements/tests.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: 🏆 Achievements - Detailed display
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_achievements: 'yes'
|
||||
plugin_achievements_only: sponsor, maintainer, octonaut
|
||||
- name: 🏆 Achievements - Compact display
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_achievements: 'yes'
|
||||
plugin_achievements_only: >-
|
||||
polyglot, stargazer, sponsor, deployer, member, maintainer, developer,
|
||||
scripter, packager, explorer, infographile, manager
|
||||
plugin_achievements_display: compact
|
||||
plugin_achievements_threshold: X
|
||||
8
tests/plugins/activity/tests.yml
Normal file
8
tests/plugins/activity/tests.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: 📰 Recent activity - Recent activity
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_activity: 'yes'
|
||||
plugin_activity_limit: 5
|
||||
plugin_activity_days: 0
|
||||
plugin_activity_filter: issue, pr, release, fork, review, ref/create
|
||||
27
tests/plugins/anilist/tests.yml
Normal file
27
tests/plugins/anilist/tests.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
- name: >-
|
||||
🌸 Anilist watch list and reading list - Favorites anime and currently
|
||||
watching
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: 'yes'
|
||||
plugin_anilist_medias: anime
|
||||
plugin_anilist_sections: favorites, watching
|
||||
plugin_anilist_limit: 1
|
||||
- name: >-
|
||||
🌸 Anilist watch list and reading list - Favorites manga and currently
|
||||
reading
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: 'yes'
|
||||
plugin_anilist_medias: manga
|
||||
plugin_anilist_sections: favorites, reading
|
||||
plugin_anilist_limit: 1
|
||||
- name: 🌸 Anilist watch list and reading list - Favorites characters
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_anilist: 'yes'
|
||||
plugin_anilist_sections: characters
|
||||
plugin_anilist_limit_characters: 22
|
||||
1
tests/plugins/base/tests.yml
Normal file
1
tests/plugins/base/tests.yml
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
7
tests/plugins/code/tests.yml
Normal file
7
tests/plugins/code/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: ♐ Code snippet of the day - JavaScript or TypeScript snippet of the day
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_code: 'yes'
|
||||
plugin_code_languages: javascript, typescript
|
||||
plugin_code_load: 400
|
||||
22
tests/plugins/contributors/tests.yml
Normal file
22
tests/plugins/contributors/tests.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
- name: 🏅 Repository contributors - Contributors with contributions count
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
plugin_contributors: 'yes'
|
||||
plugin_contributors_contributions: 'yes'
|
||||
- name: 🏅 Repository contributors - Contributors by categories
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
plugin_contributors: 'yes'
|
||||
plugin_contributors_sections: categories
|
||||
plugin_contributors_categories: |
|
||||
{
|
||||
"🧩 Plugins / 🖼️ templates":["source/plugins/**", "source/templates/**"],
|
||||
"📚 Documentation":["README.md", "**/README.md", "**/metadata.yml"],
|
||||
"💻 Code (other)":["source/**", "Dockerfile"]
|
||||
}
|
||||
1
tests/plugins/core/tests.yml
Normal file
1
tests/plugins/core/tests.yml
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
6
tests/plugins/discussions/tests.yml
Normal file
6
tests/plugins/discussions/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: 💬 Discussions - GitHub Discussions
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_discussions: 'yes'
|
||||
plugin_discussions_categories_limit: 8
|
||||
17
tests/plugins/followup/tests.yml
Normal file
17
tests/plugins/followup/tests.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- name: 🎟️ Follow-up of issues and pull requests - Opened on user's repositories
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: 'yes'
|
||||
- name: 🎟️ Follow-up of issues and pull requests - Opened by user
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: 'yes'
|
||||
plugin_followup_sections: user
|
||||
- name: 🎟️ Follow-up of issues and pull requests - Indepth analysis
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_followup: 'yes'
|
||||
plugin_followup_indepth: 'yes'
|
||||
5
tests/plugins/gists/tests.yml
Normal file
5
tests/plugins/gists/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: 🎫 Gists - Gists
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_gists: 'yes'
|
||||
16
tests/plugins/habits/tests.yml
Normal file
16
tests/plugins/habits/tests.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: 💡 Coding habits - Midly interesting facts
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: 'yes'
|
||||
plugin_habits_facts: 'yes'
|
||||
plugin_habits_charts: 'no'
|
||||
config_timezone: Europe/Paris
|
||||
- name: 💡 Coding habits - Recent activity charts
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_habits: 'yes'
|
||||
plugin_habits_facts: 'no'
|
||||
plugin_habits_charts: 'yes'
|
||||
config_timezone: Europe/Paris
|
||||
15
tests/plugins/introduction/tests.yml
Normal file
15
tests/plugins/introduction/tests.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- name: 🙋 Introduction - User introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
user: github
|
||||
base: header
|
||||
plugin_introduction: 'yes'
|
||||
- name: 🙋 Introduction - Repository introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
base: header
|
||||
plugin_introduction: 'yes'
|
||||
11
tests/plugins/isocalendar/tests.yml
Normal file
11
tests/plugins/isocalendar/tests.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: 📅 Isometric commit calendar - Half-year calendar
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: 'yes'
|
||||
- name: 📅 Isometric commit calendar - Full-year calendar
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_isocalendar: 'yes'
|
||||
plugin_isocalendar_duration: full-year
|
||||
42
tests/plugins/languages/tests.yml
Normal file
42
tests/plugins/languages/tests.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
- name: 🈷️ Most used languages - Most used
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: 'yes'
|
||||
plugin_languages_ignored: >-
|
||||
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
|
||||
gnuplot
|
||||
plugin_languages_limit: 4
|
||||
- name: 🈷️ Most used languages - Most used (with details)
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: 'yes'
|
||||
plugin_languages_ignored: >-
|
||||
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
|
||||
gnuplot
|
||||
plugin_languages_details: bytes-size, percentage
|
||||
plugin_languages_limit: 4
|
||||
- name: 🈷️ Most used languages - Recently used
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: 'yes'
|
||||
plugin_languages_ignored: >-
|
||||
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
|
||||
gnuplot
|
||||
plugin_languages_sections: recently-used
|
||||
plugin_languages_details: bytes-size, percentage
|
||||
plugin_languages_limit: 4
|
||||
- name: 🈷️ Most used languages - Indepth analysis
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_languages: 'yes'
|
||||
plugin_languages_ignored: >-
|
||||
html, css, tex, less, dockerfile, makefile, qmake, lex, cmake, shell,
|
||||
gnuplot
|
||||
plugin_languages_indepth: 'yes'
|
||||
plugin_languages_details: lines, bytes-size
|
||||
plugin_languages_limit: 4
|
||||
plugin_languages_analysis_timeout: 15
|
||||
21
tests/plugins/licenses/tests.yml
Normal file
21
tests/plugins/licenses/tests.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
- name: 📜 Repository licenses - Licenses and permissions
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
plugin_licenses: 'yes'
|
||||
plugin_licenses_setup: npm ci
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
- name: 📜 Repository licenses - Licenses with open-source ratio graphs
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
plugin_licenses: 'yes'
|
||||
plugin_licenses_setup: npm ci
|
||||
plugin_licenses_legal: 'no'
|
||||
plugin_licenses_ratio: 'yes'
|
||||
skip: true
|
||||
6
tests/plugins/lines/tests.yml
Normal file
6
tests/plugins/lines/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: 👨💻 Lines of code changed - Lines of code changed
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
plugin_lines: 'yes'
|
||||
63
tests/plugins/music/tests.yml
Normal file
63
tests/plugins/music/tests.yml
Normal file
@@ -0,0 +1,63 @@
|
||||
- name: 🎼 Music plugin - Apple Music - Random track from playlist
|
||||
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
|
||||
plugin_music_limit: 2
|
||||
- name: 🎼 Music plugin - Spotify - Random track from playlist
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: 'yes'
|
||||
plugin_music_playlist: https://open.spotify.com/embed/playlist/3nfA87oeJw4LFVcUDjRcqi
|
||||
- name: 🎼 Music plugin - Spotify - Recently listed
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: 'yes'
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_mode: recent
|
||||
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
|
||||
plugin_music_limit: 2
|
||||
- name: 🎼 Music plugin - Spotify - Top tracks
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: 'yes'
|
||||
plugin_music_mode: top
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: short
|
||||
plugin_music_top_type: tracks
|
||||
- name: 🎼 Music plugin - Spotify - Top artists
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: 'yes'
|
||||
plugin_music_mode: top
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_time_range: long
|
||||
plugin_music_top_type: artists
|
||||
- name: 🎼 Music plugin - Youtube Music - Random track from playlist
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music: 'yes'
|
||||
plugin_music_playlist: >-
|
||||
https://music.youtube.com/playlist?list=OLAK5uy_kU_uxp9TUOl9zVdw77xith8o9AknVwz9U
|
||||
- name: 🎼 Music plugin - Youtube Music - Recently listed
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: undefined
|
||||
plugin_music: 'yes'
|
||||
plugin_music_mode: recent
|
||||
plugin_music_provider: youtube
|
||||
- name: 🎼 Music plugin - Last.fm - Recently listed
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_music_token: MOCKED_TOKEN
|
||||
plugin_music: 'yes'
|
||||
plugin_music_provider: lastfm
|
||||
plugin_music_user: RJ
|
||||
5
tests/plugins/nightscout/tests.yml
Normal file
5
tests/plugins/nightscout/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: '💉 Nightscout - '
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
plugin_nightscout: 'yes'
|
||||
plugin_nightscout_url: https://testapp.herokuapp.com/
|
||||
12
tests/plugins/notable/tests.yml
Normal file
12
tests/plugins/notable/tests.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: 🎩 Notable contributions - Contributions
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_notable: 'yes'
|
||||
- name: 🎩 Notable contributions - Indepth analysis
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_notable: 'yes'
|
||||
plugin_notable_indepth: 'yes'
|
||||
plugin_notable_repositories: 'yes'
|
||||
20
tests/plugins/pagespeed/tests.yml
Normal file
20
tests/plugins/pagespeed/tests.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- name: ⏱️ Website performances - Succint report
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
- name: ⏱️ Website performances - Detailed report
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_detailed: 'yes'
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
- name: ⏱️ Website performances - Screenshot
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_screenshot: 'yes'
|
||||
plugin_pagespeed_token: MOCKED_TOKEN
|
||||
17
tests/plugins/people/tests.yml
Normal file
17
tests/plugins/people/tests.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
- name: 🧑🤝🧑 People plugin - Followers
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_people: 'yes'
|
||||
plugin_people_types: followers
|
||||
- name: 🧑🤝🧑 People plugin - Contributors and sponsors
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
template: repository
|
||||
repo: metrics
|
||||
plugin_people: 'yes'
|
||||
plugin_people_types: contributors, stargazers, watchers, sponsors
|
||||
plugin_people_sponsors_custom: >-
|
||||
iamsainikhil, yutkat, KasparJohannesSchneider, ktnkk, tfSheol, haribo-io,
|
||||
marcreichel
|
||||
4
tests/plugins/poopmap/tests.yml
Normal file
4
tests/plugins/poopmap/tests.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: '💩 PoopMap plugin - '
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
plugin_poopmap: 'yes'
|
||||
14
tests/plugins/posts/tests.yml
Normal file
14
tests/plugins/posts/tests.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
- name: ✒️ Recent posts - Recent posts
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_posts: 'yes'
|
||||
plugin_posts_source: dev.to
|
||||
- name: ✒️ Recent posts - Recent posts with descriptions and cover images
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_posts: 'yes'
|
||||
plugin_posts_source: dev.to
|
||||
plugin_posts_descriptions: 'yes'
|
||||
plugin_posts_covers: 'yes'
|
||||
7
tests/plugins/projects/tests.yml
Normal file
7
tests/plugins/projects/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: 🗂️ Active projects - Project from a repository
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_projects: 'yes'
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_descriptions: 'yes'
|
||||
7
tests/plugins/reactions/tests.yml
Normal file
7
tests/plugins/reactions/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: 🎭 Comment reactions - 🎭 Comment reactions
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_reactions: 'yes'
|
||||
plugin_reactions_limit: 100
|
||||
plugin_reactions_details: percentage
|
||||
6
tests/plugins/repositories/tests.yml
Normal file
6
tests/plugins/repositories/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: 📓 Repositories - Featured repositories
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_repositories: 'yes'
|
||||
plugin_repositories_featured: lowlighter/metrics
|
||||
1
tests/plugins/rss/tests.yml
Normal file
1
tests/plugins/rss/tests.yml
Normal file
@@ -0,0 +1 @@
|
||||
[]
|
||||
11
tests/plugins/screenshot/tests.yml
Normal file
11
tests/plugins/screenshot/tests.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: 📸 Website screenshot - XKCD of the day
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_screenshot: 'yes'
|
||||
plugin_screenshot_title: XKCD of the day
|
||||
plugin_screenshot_url: https://xkcd.com
|
||||
plugin_screenshot_selector: '#comic img'
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
11
tests/plugins/skyline/tests.yml
Normal file
11
tests/plugins/skyline/tests.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: 🌇 GitHub Skyline 3D calendar - GitHub Skyline
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_skyline: 'yes'
|
||||
plugin_skyline_year: 2020
|
||||
plugin_skyline_frames: 6
|
||||
plugin_skyline_quality: 1
|
||||
timeout: 1800000
|
||||
modes:
|
||||
- action
|
||||
11
tests/plugins/sponsors/tests.yml
Normal file
11
tests/plugins/sponsors/tests.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
- name: 💕 GitHub Sponsors - Sponsors goal
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_sponsors: 'yes'
|
||||
plugin_sponsors_sections: goal
|
||||
- name: 💕 GitHub Sponsors - Sponsors introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_sponsors: 'yes'
|
||||
8
tests/plugins/stackoverflow/tests.yml
Normal file
8
tests/plugins/stackoverflow/tests.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
- name: 🗨️ Stackoverflow plugin - Top answers from stackoverflow
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stackoverflow: 'yes'
|
||||
plugin_stackoverflow_user: 1
|
||||
plugin_stackoverflow_sections: answers-top
|
||||
plugin_stackoverflow_limit: 2
|
||||
5
tests/plugins/stargazers/tests.yml
Normal file
5
tests/plugins/stargazers/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: ✨ Stargazers over last weeks - Last weeks stargazers
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stargazers: 'yes'
|
||||
7
tests/plugins/starlists/tests.yml
Normal file
7
tests/plugins/starlists/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: 💫 Starlists - Featured star list
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_starlists: 'yes'
|
||||
plugin_starlists_limit_repositories: 2
|
||||
plugin_starlists_only: 🤘 TC39
|
||||
6
tests/plugins/stars/tests.yml
Normal file
6
tests/plugins/stars/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: 🌟 Recently starred repositories - Recently starred
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_stars: 'yes'
|
||||
plugin_stars_limit: 3
|
||||
7
tests/plugins/stock/tests.yml
Normal file
7
tests/plugins/stock/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: 💹 Stock prices - Stock prices from Tesla
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_stock: 'yes'
|
||||
plugin_stock_token: MOCKED_TOKEN
|
||||
plugin_stock_symbol: TSLA
|
||||
5
tests/plugins/support/tests.yml
Normal file
5
tests/plugins/support/tests.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: 💭 GitHub Community Support - GitHub Community Support
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_support: 'yes'
|
||||
13
tests/plugins/topics/tests.yml
Normal file
13
tests/plugins/topics/tests.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
- name: 📌 Starred topics - Labels
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_topics: 'yes'
|
||||
plugin_topics_limit: 12
|
||||
- name: 📌 Starred topics - Icons
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
plugin_topics: 'yes'
|
||||
plugin_topics_limit: 0
|
||||
plugin_topics_mode: icons
|
||||
6
tests/plugins/traffic/tests.yml
Normal file
6
tests/plugins/traffic/tests.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: 🧮 Repositories traffic - Repositories traffic
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: MOCKED_TOKEN
|
||||
base: repositories
|
||||
plugin_traffic: 'yes'
|
||||
15
tests/plugins/tweets/tests.yml
Normal file
15
tests/plugins/tweets/tests.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
- name: 🐤 Latest tweets - Latest tweets
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: 'yes'
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
plugin_tweets_user: github
|
||||
- name: 🐤 Latest tweets - Latest tweets including attachments
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_tweets: 'yes'
|
||||
plugin_tweets_token: MOCKED_TOKEN
|
||||
plugin_tweets_attachments: 'yes'
|
||||
plugin_tweets_user: github
|
||||
7
tests/plugins/wakatime/tests.yml
Normal file
7
tests/plugins/wakatime/tests.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: ⏰ WakaTime plugin - ⏰ WakaTime
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
token: NOT_NEEDED
|
||||
plugin_wakatime: 'yes'
|
||||
plugin_wakatime_sections: time, projects, projects-graphs, languages, languages-graphs, editors, os
|
||||
plugin_wakatime_token: MOCKED_TOKEN
|
||||
Reference in New Issue
Block a user