-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
tests: fix split of smoke tests across jobs #12323
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,10 +50,9 @@ | |
"cli-unit": "yarn unit-cli", | ||
"viewer-unit": "yarn unit-viewer", | ||
"watch": "yarn unit-core --watch", | ||
"unit:cicoverage": "yarn c8 --all yarn unit:ci && yarn c8 report --reporter text-lcov > unit-coverage.lcov", | ||
"unit:cicoverage": "yarn c8 --all yarn unit:ci", | ||
"coverage": "yarn unit:cicoverage && c8 report --reporter html", | ||
"smoke:cicoverage": "yarn c8 yarn smoke -j=1 --retries=2 && yarn c8 report --reporter text-lcov > smoke-coverage.lcov", | ||
"coverage:smoke": "yarn smoke:cicoverage && c8 report --reporter html", | ||
"coverage:smoke": "yarn c8 yarn smoke -j=1 && c8 report --reporter html", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Any reason this can't be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
"coveralls": "cat unit-coverage.lcov | coveralls", | ||
"devtools": "bash lighthouse-core/scripts/roll-to-devtools.sh", | ||
"chrome": "node lighthouse-core/scripts/manual-chrome-launcher.js", | ||
|
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.
unit coverage didn't matter for this since we don't pass extra flags to it, but it made sense to do both in the same way.
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.
much better than doing in package.json!