-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable ember-engine tests for 4.x versions as support has landed #1281
enable ember-engine tests for 4.x versions as support has landed #1281
Conversation
@void-mAlex I believe we should add |
@SergeAstapov should that be added for all versions or just the 4.x series? |
Please run prettier so that this will get past the linters and we can see the full CI run. |
@void-mAlex it won't hurt to add it's not ideal anyways, but IMO it's much more important to have ember-engines being included in CI than having extra |
@void-mAlex build fails as you haven't actually added |
please bear with me as running the test suites locally is very painful, so actually figuring out if I added the dependency correctly is hard (maybe just for me). @SergeAstapov I could also use some help with yarn I get this yarn error Invariant Violation: expected workspace package to exist for "eslint"Yarn version: 1.22.19Node version: Platform: Trace: as for the tests I can most of the time get a complete execution if I narrow it down to just that file
|
pushed a set of changes that I believe should work, in order to get some feedback locally I can't seem to get the tests to pass even though I've confirmed the following {
"name": "app-template",
"version": "0.0.0",
"private": true,
"description": "Small description for app-template goes here",
"repository": "",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build",
"build:production": "ember build -prod",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel \"lint:!(fix)\"",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint .",
"lint:hbs:fix": "ember-template-lint . --fix",
"lint:js": "eslint . --cache",
"lint:js:fix": "eslint . --fix",
"start": "ember serve",
"test": "ember test",
"test:ember": "ember test"
},
"devDependencies": {
"eager-engine": "0.0.0",
"lazy-engine": "0.0.0",
"@babel/core": "7.19.3",
"@ember/optional-features": "2.0.0",
"@ember/test-helpers": "2.8.1",
"@embroider/compat": "1.9.0",
"@embroider/core": "1.9.0",
"@embroider/router": "1.9.0",
"@embroider/test-setup": "1.8.3",
"@embroider/webpack": "1.9.0",
"@glimmer/component": "1.1.2",
"@glimmer/tracking": "1.1.2",
"babel-eslint": "10.1.0",
"broccoli-asset-rev": "3.0.0",
"ember-auto-import": "2.4.2",
"ember-cli-app-version": "5.0.0",
"ember-cli-babel": "7.26.11",
"ember-cli-dependency-checker": "3.3.1",
"ember-cli-htmlbars": "6.1.0",
"ember-cli-inject-live-reload": "2.1.0",
"ember-cli-sri": "2.1.1",
"ember-cli-terser": "4.0.2",
"ember-fetch": "8.1.1",
"ember-load-initializers": "2.1.2",
"ember-page-title": "7.0.0",
"ember-qunit": "5.1.5",
"ember-resolver": "8.0.3",
"ember-template-lint": "4.12.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-ember": "11.0.5",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-qunit": "7.3.1",
"loader.js": "4.7.0",
"npm-run-all": "4.1.5",
"prettier": "2.7.1",
"qunit": "2.19.2",
"qunit-dom": "2.0.0",
"webpack": "5.74.0",
"ember-source": "4.4.2",
"ember-cli": "4.4.0",
"ember-data": "4.4.1"
},
"engines": {
"node": "14.* || >= 16"
},
"ember": {
"edition": "octane"
},
"volta": {
"node": "14.19.3",
"yarn": "1.22.19"
},
"ember-addon": {
"paths": [
"lib/lazy-in-repo-engine"
]
},
"dependencies": {
"ember-engines": "0.8.19",
"ember-truth-helpers": "3.0.0",
"@embroider/macros": "1.9.0",
"@ember/legacy-built-in-components": "0.4.1"
}
} dependecy gets correctly added and installed to the generated temporary app (found in the $TMP folder); the above is the package json for the project checked and the @ember/legacy-built-in-components folder exists inside node_modules the error I see from the test run is
|
think I just spotted the reason it's not working locally "ember-engines": "0.8.19", it's late now so I'll update it tomorrow and try again locally hopefully with more luck |
@void-mAlex Looks there is a conflict, mind to refresh with latest main? |
tests now look green locally |
Sorry, the CONTRIBUTING.md documentation is out of date here. What I would do for this one is:
|
#1283 |
Thanks, looks good. So I guess our engines support is actually pretty OK already! Probably the next step in this area is for the folks who hit a problem with the link components to add that usage to these tests so we can see it break. |
ember-engines/ember-engines#798