-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Use matrix builds to speed up all commands smoke tests #584
Conversation
bef4dd3
to
a783c06
Compare
This allows us to remove hte custom `npm pack` work that was being done in `run-smoke-test.sh` and simplify the testing of the smoke-test-app.
a783c06
to
6dd5973
Compare
package.json
Outdated
"lint": "eslint lib test", | ||
"lint:hbs": "ember-template-lint .", | ||
"lint:js": "eslint .", | ||
"node-test": "mocha test/**/*.js", | ||
"node-test-with-coverage": "nyc --reporter lcov npm run-script node-test && node_modules/.bin/codecov", | ||
"smoke-test": "./run-smoke-test.sh smoke-test.sh", | ||
"smoke-test-yarn": "./run-smoke-test.sh smoke-test-yarn.sh", | ||
"smoke-test": "cd smoke-test-app && ./smoke-test.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these scripts are "weird" now locally because unless you've gone into smoke-test-app
and installed with the correct package manager, you can easily run smoke-test-yarn
and have it being using npm, and vice versa.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just decided to delete these scripts all together. I couldn't think of a way to ensure they actually run in the right contexts, and since CI is actually pretty fast / peppy it's probably fine...
762a571
to
0c6f226
Compare
86ad8d0
to
3e8a476
Compare
3e8a476
to
8947601
Compare
Instead of running a single shell script, run a job for each of the individual commands. This will result in many more CI jobs, but should be much much faster total time.