tests: fix faulty tests

This commit is contained in:
lowlighter
2022-01-14 01:34:08 -05:00
parent b329c9d490
commit adc2924570
15 changed files with 27 additions and 30 deletions

View File

@@ -4,6 +4,7 @@
token: MOCKED_TOKEN
plugin_achievements: 'yes'
plugin_achievements_only: sponsor, maintainer, octonaut
timeout: 1800000
- name: 🏆 Achievements - Compact display
uses: lowlighter/metrics@latest
with:
@@ -14,3 +15,4 @@
scripter, packager, explorer, infographile, manager
plugin_achievements_display: compact
plugin_achievements_threshold: X
timeout: 1800000

View File

@@ -1,10 +1,10 @@
- name: 🧱 Core - 📗 Classic template
- name: 🧱 Core - Classic template
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
base: header, repositories
plugin_lines: 'yes'
- name: 🧱 Core - 📘 Repository template
- name: 🧱 Core - Repository template
uses: lowlighter/metrics@latest
with:
template: repository
@@ -15,20 +15,20 @@
plugin_followup: 'yes'
plugin_projects: 'yes'
plugin_projects_repositories: lowlighter/metrics/projects/1
- name: 🧱 Core - 📙 Terminal template
- name: 🧱 Core - Terminal template
uses: lowlighter/metrics@latest
with:
template: terminal
token: MOCKED_TOKEN
base: header, metadata
- name: 🧱 Core - 📒 Markdown template
- name: 🧱 Core - Markdown template
uses: lowlighter/metrics@latest
with:
template: markdown
markdown: metrics.markdown.template.md
config_output: markdown
token: MOCKED_TOKEN
- name: 🧱 Core - 📒 Markdown template (with plugins)
- name: 🧱 Core - Markdown template (with plugins)
uses: lowlighter/metrics@latest
with:
template: markdown
@@ -57,7 +57,7 @@
plugin_isocalendar: 'yes'
plugin_languages: 'yes'
token: MOCKED_TOKEN
- name: 🧱 Core - 📒 Markdown template (pdf output)
- name: 🧱 Core - Markdown template (pdf output)
uses: lowlighter/metrics@latest
with:
template: markdown
@@ -71,7 +71,7 @@
config_twemoji: 'yes'
config_padding: 5%
token: MOCKED_TOKEN
- name: 🧱 Core - 📕 Community templates
- name: 🧱 Core - Community templates
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
@@ -79,12 +79,6 @@
setup_community_templates: lowlighter/metrics@master:classic
modes:
- action
- name: 🧱 Core - Plugin error example
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
plugin_projects: 'yes'
skip: true
- name: 🧱 Core - Organization
uses: lowlighter/metrics@latest
with:

View File

@@ -8,14 +8,3 @@
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

View File

@@ -27,6 +27,7 @@
plugin_music: 'yes'
plugin_music_mode: top
plugin_music_provider: spotify
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
plugin_music_time_range: short
plugin_music_top_type: tracks
- name: 🎼 Music plugin - Spotify - Top artists
@@ -36,6 +37,7 @@
plugin_music: 'yes'
plugin_music_mode: top
plugin_music_provider: spotify
plugin_music_token: MOCKED_CLIENT_ID, MOCKED_CLIENT_SECRET, MOCKED_REFRESH_TOKEN
plugin_music_time_range: long
plugin_music_top_type: artists
- name: 🎼 Music plugin - Youtube Music - Random track from playlist
@@ -49,7 +51,7 @@
uses: lowlighter/metrics@latest
with:
token: NOT_NEEDED
plugin_music_token: undefined
plugin_music_token: SAPISID=MOCKED_COOKIE; OTHER_PARAM=OTHER_VALUE;
plugin_music: 'yes'
plugin_music_mode: recent
plugin_music_provider: youtube

View File

@@ -1,5 +1,6 @@
- name: '💉 Nightscout - '
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
plugin_nightscout: 'yes'
plugin_nightscout_url: https://testapp.herokuapp.com/

View File

@@ -1,4 +1,5 @@
- name: '💩 PoopMap plugin - '
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN
plugin_poopmap: 'yes'

View File

@@ -1,4 +1,4 @@
- name: 🎭 Comment reactions - 🎭 Comment reactions
- name: 🎭 Comment reactions - Comment reactions
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN

View File

@@ -1,4 +1,4 @@
- name: ⏰ WakaTime plugin - WakaTime
- name: ⏰ WakaTime plugin - WakaTime
uses: lowlighter/metrics@latest
with:
token: NOT_NEEDED