-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ci(examples): update examples tests to diff full output #5242
Merged
mehulkar
merged 1 commit into
main
from
mehulkar/turbo-1152-examples-tests-should-validate-output
Jun 8, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,23 @@ | ||
$ . ${TESTDIR}/setup.sh non-monorepo npm | ||
\d+\.\d+\.\d+ (re) | ||
|
||
# run twice and make sure it works | ||
$ npx turbo build lint > /dev/null 2>&1 | ||
$ npx turbo build lint > /dev/null 2>&1 | ||
$ npx turbo build lint --output-logs=none | ||
\xe2\x80\xa2 Running build, lint (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 2 successful, 2 total | ||
Cached: 0 cached, 2 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
$ npx turbo build lint --output-logs=none | ||
\xe2\x80\xa2 Running build, lint (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 2 successful, 2 total | ||
Cached: 2 cached, 2 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
$ . ${TESTDIR}/setup.sh with-npm npm | ||
\d+\.\d+\.\d+ (re) | ||
|
||
# run twice and make sure it works | ||
$ npm run build lint > /dev/null 2>&1 | ||
$ npm run build lint > /dev/null 2>&1 | ||
$ npm run build lint -- --output-logs=none | ||
|
||
\> build (re) | ||
\> turbo run build lint --output-logs=none (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
|
||
|
||
$ npm run build lint -- --output-logs=none | ||
|
||
\> build (re) | ||
\> turbo run build lint --output-logs=none (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 5 cached, 5 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,37 @@ | ||
$ . ${TESTDIR}/setup.sh with-yarn npm | ||
\d+\.\d+\.\d+ (re) | ||
|
||
# run twice and make sure it works | ||
$ npm run build lint > /dev/null 2>&1 | ||
$ npm run build lint > /dev/null 2>&1 | ||
$ npm run build lint -- --output-logs=none | ||
|
||
\> build (re) | ||
\> turbo build lint --output-logs=none (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
|
||
|
||
$ npm run build lint -- --output-logs=none | ||
|
||
\> build (re) | ||
\> turbo build lint --output-logs=none (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 5 cached, 5 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
$ . ${TESTDIR}/setup.sh basic pnpm | ||
6.26.1 | ||
# run twice and make sure it works | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-basic.t (re) | ||
\> turbo run build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
|
||
|
||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-basic.t (re) | ||
\> turbo run build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 5 cached, 5 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
$ . ${TESTDIR}/setup.sh with-gatsby pnpm | ||
6.26.1 | ||
# run twice and make sure it works | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ git diff | ||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> with-gatsby@0.0.0 build (.*)/pnpm-gatsby.t (re) | ||
\> turbo build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> with-gatsby@0.0.0 build (.*)/pnpm-gatsby.t (re) | ||
\> turbo build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 3 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
$ . ${TESTDIR}/setup.sh kitchen-sink pnpm | ||
6.26.1 | ||
# run twice and make sure it works | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-kitchen-sink.t (re) | ||
\> turbo build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: admin, api, blog, eslint-config-custom, eslint-config-custom-server, jest-presets, logger, storefront, tsconfig, ui (esc) | ||
\xe2\x80\xa2 Running build, lint in 10 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 11 successful, 11 total | ||
Cached: 0 cached, 11 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
|
||
|
||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-kitchen-sink.t (re) | ||
\> turbo build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: admin, api, blog, eslint-config-custom, eslint-config-custom-server, jest-presets, logger, storefront, tsconfig, ui (esc) | ||
\xe2\x80\xa2 Running build, lint in 10 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 11 successful, 11 total | ||
Cached: 11 cached, 11 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,36 @@ | ||
$ . ${TESTDIR}/setup.sh with-svelte pnpm | ||
6.26.1 | ||
# run twice and make sure it works | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint > /dev/null 2>&1 | ||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-with-svelte.t (re) | ||
\> turbo run build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 4 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
|
||
|
||
|
||
$ pnpm run build lint -- --output-logs=none | ||
|
||
\> @ build (.*)/pnpm-with-svelte.t (re) | ||
\> turbo run build "lint" "--output-logs=none" (re) | ||
|
||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 4 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 5 cached, 5 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
|
||
|
||
|
||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
$ . ${TESTDIR}/setup.sh non-monorepo yarn | ||
\d+\.\d+\.\d+ (re) | ||
|
||
# run twice and make sure it works | ||
$ npx turbo build lint > /dev/null 2>&1 | ||
$ npx turbo build lint > /dev/null 2>&1 | ||
$ yarn turbo build lint --output-logs=none | ||
yarn run v\d+\.\d+\.\d+ (re) | ||
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re) | ||
\xe2\x80\xa2 Running build, lint (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 2 successful, 2 total | ||
Cached: 0 cached, 2 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
Done in [\.0-9]+m?s\. (re) | ||
|
||
$ yarn turbo build lint --output-logs=none | ||
yarn run v\d+\.\d+\.\d+ (re) | ||
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re) | ||
\xe2\x80\xa2 Running build, lint (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 2 successful, 2 total | ||
Cached: 2 cached, 2 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
Done in [\.0-9]+m?s\. (re) | ||
$ git diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
$ . ${TESTDIR}/setup.sh with-npm yarn | ||
\d+\.\d+\.\d+ (re) | ||
|
||
# run twice and make sure it works | ||
$ yarn build lint > /dev/null 2>&1 | ||
$ yarn build lint > /dev/null 2>&1 | ||
$ yarn turbo build lint --output-logs=none | ||
yarn run v\d+\.\d+\.\d+ (re) | ||
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re) | ||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 0 cached, 5 total | ||
Time:\s*[\.0-9ms]+ (re) | ||
|
||
Done in [\.0-9]+m?s\. (re) | ||
|
||
$ yarn turbo build lint --output-logs=none | ||
yarn run v\d+\.\d+\.\d+ (re) | ||
\$ (.*)node_modules/.bin/turbo build lint --output-logs=none (re) | ||
\xe2\x80\xa2 Packages in scope: docs, eslint-config-custom, tsconfig, ui, web (esc) | ||
\xe2\x80\xa2 Running build, lint in 5 packages (esc) | ||
\xe2\x80\xa2 Remote caching disabled (esc) | ||
|
||
Tasks: 5 successful, 5 total | ||
Cached: 5 cached, 5 total | ||
Time:\s*[\.0-9ms]+ >>> FULL TURBO (re) | ||
|
||
Done in [\.0-9]+m?s\. (re) | ||
$ git diff |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not going to try to fix it here, but it's weird that the gatsby example doesn't get full turbo on the second run. might be expected
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.
(This test isn't even running in CI, because this combo isn't part of the matrix)