Add default query for tests
This commit is contained in:
16
.github/workflows/workflow.yml
vendored
16
.github/workflows/workflow.yml
vendored
@@ -57,6 +57,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: header, activity, community, repositories, metadata
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
|
||||
- name: ${{ matrix.template }} > Plugin > PageSpeed
|
||||
uses: lowlighter/metrics@master
|
||||
@@ -67,6 +68,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_detailed: yes
|
||||
@@ -81,6 +83,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: ${{ secrets.MUSIC_PLAYLIST_APPLE }}
|
||||
|
||||
@@ -93,6 +96,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_music: yes
|
||||
plugin_music_playlist: ${{ secrets.MUSIC_PLAYLIST_SPOTIFY }}
|
||||
|
||||
@@ -105,6 +109,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_music: yes
|
||||
plugin_music_provider: spotify
|
||||
plugin_music_token: ${{ secrets.SPOTIFY_TOKENS }}
|
||||
@@ -118,6 +123,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_posts: yes
|
||||
plugin_posts_source: dev.to
|
||||
|
||||
@@ -130,6 +136,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_isocalendar: yes
|
||||
plugin_isocalendar_duration: full-year
|
||||
|
||||
@@ -142,6 +149,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_habits: yes
|
||||
plugin_habits_from: 5
|
||||
plugin_habits_charts: yes
|
||||
@@ -155,6 +163,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_languages: yes
|
||||
|
||||
- name: ${{ matrix.template }} > Plugin > Follow-up
|
||||
@@ -166,6 +175,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_followup: yes
|
||||
|
||||
- name: ${{ matrix.template }} > Plugin > Lines and Traffic
|
||||
@@ -177,6 +187,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_lines: yes
|
||||
plugin_traffic: yes
|
||||
|
||||
@@ -189,6 +200,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_gists: yes
|
||||
|
||||
- name: ${{ matrix.template }} > Plugin > Topics (starred)
|
||||
@@ -200,6 +212,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: starred
|
||||
plugin_topics_sort: random
|
||||
@@ -213,6 +226,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_topics: yes
|
||||
plugin_topics_mode: mastered
|
||||
plugin_topics_sort: stars
|
||||
@@ -226,6 +240,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
plugin_projects_limit: 2
|
||||
@@ -239,6 +254,7 @@ jobs:
|
||||
template: ${{ matrix.template }}
|
||||
base: ""
|
||||
plugins_errors_fatal: yes
|
||||
q: {"repo":"metrics"}
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_limit: 2
|
||||
plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }}
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
template:"${{ matrix.template }}",
|
||||
base:"",
|
||||
plugins_errors_fatal:true,
|
||||
q:'{"repo":"metrics"}',
|
||||
...context
|
||||
}).map(([key, value]) => `${" ".repeat(5)}${key}: ${
|
||||
typeof value === "boolean" ? (value ? "yes" : "no") :
|
||||
|
||||
Reference in New Issue
Block a user