Skip to content

Commit 848cc6a

Browse files
authored
Merge pull request #21019 from emberjs/kg-remove-run-tests
2 parents f6ad843 + 73cb4b7 commit 848cc6a

File tree

11 files changed

+62
-797
lines changed

11 files changed

+62
-797
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,6 @@ runs:
2323
node-version: '${{ inputs.node-version }}'
2424
registry-url: 'https://registry.npmjs.org'
2525
cache: pnpm
26-
- uses: actions/cache@v4
27-
name: Setup cache for puppeteer
28-
with:
29-
# See .puppeteerrc.cjs, where we set this as the place puppeteer
30-
# installs the browser. It needs to be cached the same as our pnpm
31-
# packages are because it won't get reinstalled if our modules are
32-
# cached.
33-
path: .puppeteer-cache
34-
key: ${{ runner.os }}-puppeteer-${{ hashFiles('**/pnpm-lock.yaml') }}
35-
36-
- name: Disable AppArmor
37-
# Ubuntu >= 23 has AppArmor enabled by default, which breaks Puppeteer.
38-
# See https://github.com/puppeteer/puppeteer/issues/12818 "No usable sandbox!"
39-
# this is taken from the solution used in Puppeteer's own CI: https://github.com/puppeteer/puppeteer/pull/13196
40-
# The alternative is to pin Ubuntu 22 or to use aa-exec to disable AppArmor for commands that need Puppeteer.
41-
# This is also suggested by Chromium https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md
42-
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
43-
shell: bash
4426

4527
- run: pnpm install ${{ fromJSON('{"false":"--no-lockfile", "true":"--frozen-lockfile"}')[inputs.use_lockfile] }}
4628
shell: bash

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ npm-debug.log
4646
*.tar.gz
4747
*.log
4848
/.vscode
49-
.puppeteer-cache
5049

5150
# These are automatically generated by our build process.
5251
# TODO: make that *fully* true: The root types/stable directory is *not*

.puppeteerrc.cjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Within the [CI workflow](https://github.com/emberjs/ember.js/blob/main/.github/w
226226
- `Linting` runs `pnpm lint` to check for code style issues.
227227
- `Type Checking` runs `pnpm type-check` to check for TypeScript type errors. This also runs against several version of TypeScript that are supported.
228228
- `Basic Test` test suite is closest to what you normally run locally on your machine.
229-
- `Variant Tests` run the test suite under different combinations of settings. See documentation in run-tests.js for the meaning of each setting.
229+
- `Variant Tests` run the test suite under different combinations of settings. See documentation in ./testem.js for the meaning of each setting.
230230
- `BrowserStack` and `Browser Tests` test suites run tests against various supported browsers.
231231
- `Blueprint Tests` runs tests for the Ember CLI blueprints provided by Ember in this package.
232232
- `Smoke Tests` builds and runs entire end-to-end apps.

bin/run-tests-browser-runner.js

Lines changed: 0 additions & 119 deletions
This file was deleted.

bin/run-tests-injection.js

Lines changed: 0 additions & 85 deletions
This file was deleted.

bin/run-tests.js

Lines changed: 0 additions & 93 deletions
This file was deleted.

index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
if (QUnit.urlParams.OVERRIDE_DEPRECATION_VERSION) {
4141
EmberENV['_OVERRIDE_DEPRECATION_VERSION'] = QUnit.urlParams.OVERRIDE_DEPRECATION_VERSION;
4242
}
43+
44+
QUnit.config.urlConfig.push({
45+
id: 'OVERRIDE_DEPRECATION_VERSION',
46+
value: ['20.0.0', '6.0.0', '5.12.0'],
47+
label: 'Deprecation Version',
48+
});
4349
</script>
4450

4551
<script type="module">

0 commit comments

Comments
 (0)