forked from discourse/discourse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV: Run system tests for official themes (discourse#24378)
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.
- Loading branch information
Showing
3 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# 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 |