mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 04:54:54 +08:00
6ce55e5347
Why this change? As the number of themes which the Discourse team supports officially grows, we want to ensure that changes made to Discourse core do not break the plugins. As such, we are adding a step to our Github actions test job to run the system tests for all official themes. What does this change do? This change adds a step to our Github actions test job to run the system tests for all official plugins. This is achieved by the introduction of the `themes:install_all_official` Rake task which installs all the themes that are officially supported by the Discourse team.
23 lines
536 B
Ruby
23 lines
536 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ThemeMetadata
|
|
OFFICIAL_THEMES =
|
|
Set.new(
|
|
%w[
|
|
discourse-brand-header
|
|
discourse-category-banners
|
|
discourse-clickable-topic
|
|
discourse-color-scheme-toggle
|
|
discourse-custom-header-links
|
|
Discourse-easy-footer
|
|
discourse-gifs
|
|
discourse-topic-thumbnails
|
|
discourse-search-banner
|
|
discourse-unanswered-filter
|
|
discourse-versatile-banner
|
|
DiscoTOC
|
|
unformatted-code-detector
|
|
],
|
|
).to_a
|
|
end
|