Skip to content

Add PHPUnit test workflow for multisite #5701

@johnwatkins0

Description

@johnwatkins0

Feature description

Some relatively recent additions to the plugin have involved small customizations related to multisite environments (example). Currently we only run PHPUnit tests in single-site environments, so there's no easy way to write tests for these features.

Potentially useful for reference:

https://github.com/WordPress/wordpress-develop/blob/master/tests/phpunit/multisite.xml
https://github.com/WordPress/wordpress-develop/blob/master/.github/workflows/phpunit-tests.yml#L257


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Metadata

Metadata

Assignees

No one assigned

    Labels

    ChangeloggedWhether the issue/PR has been added to release notes.GroomedP2Low priorityTestingIssues related with Unit, E2E, Smoke, and other testing requirements/needsWS:CoreWork stream for Plugin core

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions