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

chore: refine e2e test scripts #10918

Merged
merged 1 commit into from Dec 24, 2019
Merged

chore: refine e2e test scripts #10918

merged 1 commit into from Dec 24, 2019

Conversation

JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Dec 24, 2019

Q                       A
License MIT
  • Added -j to make commands.
  • Added --depth=1 to git clone.
  • Fixed Shellcheck lint errors.

@JLHwung JLHwung added the PR: Internal 🏠 A type of pull request used for our changelog categories label Dec 24, 2019
@@ -5,7 +5,7 @@
#==============================================================================#

# Start in scripts/integration-tests/ even if run from root directory
cd "$(dirname "$0")"
cd "$(dirname "$0")" || exit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -25,7 +25,7 @@ startLocalRegistry "$PWD"/../../verdaccio-config.yml
yarn install
# "yarn upgrade --scope @babel --latest" doesn't seem to work.
# a means "all", while \n is the enter needed to confirm the selection.
echo "a\n" | yarn upgrade-interactive --scope @babel --latest
printf "a\n" | yarn upgrade-interactive --scope @babel --latest
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicolo-ribaudo
Copy link
Member

nicolo-ribaudo commented Dec 24, 2019

Can we run shellcheck while linting?

@JLHwung
Copy link
Contributor Author

JLHwung commented Dec 24, 2019

@nicolo-ribaudo Sure. But shellcheck is not a JavaScript program (written in Haskell). If contributor wants to add shellcheck, they has to install it by themself.

I can add an optional lint-sh make recipe and run it on travis. And we can add a shellcheck section to the contribution docs, in case one comes across the shellcheck errors.

@nicolo-ribaudo
Copy link
Member

Yeah making it optional sounds good. But if this PR is blocking the other one, let's do it in a separate PR.

@JLHwung JLHwung merged commit 875e961 into babel:master Dec 24, 2019
@JLHwung JLHwung deleted the tune-e2e-test branch December 24, 2019 17:25
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Mar 25, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants