Skip to content

Use matrix builds to speed up all commands smoke tests - #584

Merged
rwjblue merged 3 commits into
masterfrom
rwjblue/parallelize-smoke-tests
Oct 29, 2020
Merged

Use matrix builds to speed up all commands smoke tests#584
rwjblue merged 3 commits into
masterfrom
rwjblue/parallelize-smoke-tests

Conversation

@rwjblue

@rwjblue rwjblue commented Oct 28, 2020

Copy link
Copy Markdown
Member

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
@rwjblue
rwjblue requested a review from kategengler October 28, 2020 21:55
Comment thread package.json Outdated
"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
Copy Markdown
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
Copy Markdown
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.

2 participants