DEV: Add `ci-stable` job (#270)

This plugin is important so we want to ensure that the tests pass
against the `stable` branch too.
This commit is contained in:
Alan Guo Xiang Tan 2025-04-23 11:03:57 +08:00 committed by GitHub
parent 09e36dfc19
commit 26e2516ea3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 7 deletions

View File

@ -9,3 +9,8 @@ on:
jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
ci-stable:
uses: discourse/.github/.github/workflows/discourse-plugin.yml@v1
with:
core_ref: stable

View File

@ -1,10 +1,8 @@
# frozen_string_literal: true
RSpec.describe "Core features", type: :system do
# TODO: Stop skipping when shared example is available in stable
next if Discourse.git_branch == "stable"
# TODO: Stop skipping when shared example is available in stable
# RSpec.describe "Core features", type: :system do
# before { enable_current_plugin }
before { enable_current_plugin }
it_behaves_like "having working core features"
end
# it_behaves_like "having working core features"
# end