discourse/lib/theme_metadata.rb
Alan Guo Xiang Tan 6ce55e5347
DEV: Run system tests for official themes ()
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.
2023-11-16 07:11:35 +08:00

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