Automattic / Automattic/zoninator

Switch to @wordpress/env for development and testing

Open
#122 0 comments 0 reactions 0 assignees View on GitHub
type: maintenance
Dominant language
PHP
Stars
86
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Requires Docker, but allows us to streamline development and testing in other ways.

- Add a `.wp-env.json` file
- Install npm packages during `integrations.yml`
- Remove need for installing SVN during `integrations.yml`
- Remove `bin/install-wp-test.sh`
- Update documentation

```bash
# Start with:
wp-env start --xdebug=coverage
# Run tests with:
wp-env run tests-cli --env-cwd=wp-content/plugins/zoninator composer test
```

Contributor guide

Open the contributing guide

Research direction

Start by reading integrations.yml and bin/install-wp-test.sh, then review the existing development and testing documentation. Try the proposed `wp-env start --xdebug=coverage` and test command to understand the workflow. Done means adding .wp-env.json, updating integrations.yml, removing the SVN setup and bin/install-wp-test.sh, and updating the documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, php, wordpress
Domain
devops, documentation, testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.