Skip to content
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

Merged
merged 3 commits into from Oct 29, 2020

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 28, 2020

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.

@rwjblue rwjblue force-pushed the rwjblue/parallelize-smoke-tests branch 3 times, most recently from bef4dd3 to a783c06 Compare October 28, 2020 21:40
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.
@rwjblue rwjblue force-pushed the rwjblue/parallelize-smoke-tests branch from a783c06 to 6dd5973 Compare October 28, 2020 21:48
@rwjblue rwjblue marked this pull request as ready for review October 28, 2020 21:55
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",
Copy link
Member

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.

Copy link
Member Author

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...

@rwjblue rwjblue force-pushed the rwjblue/parallelize-smoke-tests branch from 762a571 to 0c6f226 Compare October 29, 2020 02:22
@rwjblue rwjblue force-pushed the rwjblue/parallelize-smoke-tests branch 2 times, most recently from 86ad8d0 to 3e8a476 Compare October 29, 2020 13:22
@rwjblue rwjblue force-pushed the rwjblue/parallelize-smoke-tests branch from 3e8a476 to 8947601 Compare October 29, 2020 13:31
@rwjblue rwjblue merged commit 413cfc4 into master Oct 29, 2020
@rwjblue rwjblue deleted the rwjblue/parallelize-smoke-tests branch October 29, 2020 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants