Skip to content

Commit 8fd0732

Browse files
committed
Minor config updates
1 parent 39defec commit 8fd0732

File tree

3 files changed

+1650
-8
lines changed

3 files changed

+1650
-8
lines changed

.github/workflows/plugin-tests.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,16 @@ jobs:
5656
if_true: "stable"
5757
if_false: "tests-passed"
5858

59-
- uses: actions/checkout@v2
59+
- uses: actions/checkout@v3
6060
with:
6161
repository: discourse/discourse
6262
ref: ${{ steps.discourse_branch.outputs.value }}
6363
fetch-depth: 1
6464

65-
- name: Fetch Repo Name
66-
id: repo-name
67-
run: echo "::set-output name=value::$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')"
68-
6965
- name: Install plugin
7066
uses: actions/checkout@v2
7167
with:
72-
path: plugins/${{ steps.repo-name.outputs.value }}
68+
path: plugins/${{ github.event.repository.name }}
7369
ref: "${{ github.base_ref }}"
7470
fetch-depth: 1
7571

@@ -139,5 +135,5 @@ jobs:
139135
140136
- name: Plugin QUnit
141137
if: matrix.build_type == 'frontend'
142-
run: bundle exec rake plugin:qunit['${{ steps.repo-name.outputs.value }}','1200000']
143-
timeout-minutes: 30
138+
run: QUNIT_SKIP_CORE=1 LOAD_PLUGINS=1 QUNIT_EMBER_CLI=0 bin/rake qunit:test['1200000','/w/qunit']
139+
timeout-minutes: 10

assets/javascripts/wizard/tests/bootstrap.js.es6

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// discourse-skip-module
2+
/*global document, Logster, QUnit */
23

34
document.addEventListener("DOMContentLoaded", function () {
45
document.body.insertAdjacentHTML(
@@ -15,3 +16,9 @@ Object.keys(requirejs.entries).forEach(function (entry) {
1516
requirejs(entry);
1617
}
1718
});
19+
20+
if (window.Logster) {
21+
Logster.enabled = false;
22+
} else {
23+
window.Logster = { enabled: false };
24+
}

0 commit comments

Comments
 (0)