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

Fix scaffolding paths #192

Closed
wants to merge 3 commits into from
Closed

Conversation

Lewiscowles1986
Copy link
Contributor

@Lewiscowles1986 Lewiscowles1986 commented Nov 19, 2020

Fixes #188

Approach:

Modify the file-paths copied

notation: source -> dest (vendor path omitted)

  • wp-cli/wp-cli/ci/behat-tags.php -> ./utils/behat-tags.php
  • wp-cli/wp-cli/features/bootstrap/FeatureContext.php -> wp-cli/wp-cli-tests/features/bootstrap/FeatureContext.php
  • wp-cli/wp-cli/features/bootstrap/support.php -> wp-cli/wp-cli-tests/features/bootstrap/support.php
  • wp-cli/wp-cli/features/steps/given.php -> wp-cli/wp-cli-tests/features/steps/given.php
  • wp-cli/wp-cli/features/steps/when.php -> wp-cli/wp-cli-tests/features/steps/when.php
  • wp-cli/wp-cli/features/steps/then.php -> wp-cli/wp-cli-tests/features/steps/then.php
  • wp-cli/wp-cli/features/extra/no-mail.php -> wp-cli/wp-cli-tests/features/extra/no-mail.php

Note: Takes passing Travis-CI tests from 49 -> 51 with no new errors (that I've noticed, it's all still some composer version error)

Fixes wp-cli#188 

Approach:

Modify the file-paths copied

* `wp-cli/wp-cli/ci/behat-tags.php` -> `./utils/behat-tags.php`
* `wp-cli/wp-cli/features/bootstrap/FeatureContext.php` -> `wp-cli/wp-cli-tests/features/bootstrap/FeatureContext.php`
* `wp-cli/wp-cli/features/bootstrap/support.php` -> `wp-cli/wp-cli-tests/features/bootstrap/support.php`
* `wp-cli/wp-cli/features/steps/given.php` -> `wp-cli/wp-cli-tests/features/steps/given.php`
* `wp-cli/wp-cli/features/steps/when.php` -> `wp-cli/wp-cli-tests/features/steps/when.php`
* `wp-cli/wp-cli/features/steps/then.php` -> `wp-cli/wp-cli-tests/features/steps/then.php`
* `wp-cli/wp-cli/features/extra/no-mail.php` -> `wp-cli/wp-cli-tests/features/extra/no-mail.php`
@Lewiscowles1986 Lewiscowles1986 requested a review from a team as a code owner November 19, 2020 08:06
Noticed this file is not 1:1 with the one from this repo...
@Lewiscowles1986
Copy link
Contributor Author

Here are three artifacts from a local build with the copied files. I need to run this on a different machine as it fails on composer after these are generated. I Do not believe this is due to these changes.

wp-cli-test-run-scaffold-package.feature.113-5fb65ebbdbded9.46320105.zip
wp-cli-test-run-scaffold-package-readme.feature.59-5fb65eb14f3256.17474245.zip
wp-cli-test-run-scaffold-package-readme.feature.84-5fb65eb29e5349.61293041.zip

@schlessera
Copy link
Member

Closing this PR, as the changes in wp-cli-tests make it so these files are not needed I a new package repo anymore, so they also don't need to be copied.

@schlessera schlessera closed this May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Behat files empty after scaffolding
2 participants