Skip to content

refactor: as plugin#1

Open
justlevine wants to merge 3 commits intotrunkfrom
refactor/as-plugin
Open

refactor: as plugin#1
justlevine wants to merge 3 commits intotrunkfrom
refactor/as-plugin

Conversation

@justlevine
Copy link
Copy Markdown
Owner

Tracking WordPress#8

# - Make Composer packages available globally.
# - Runs PHPCS on the full codebase.
# - Generate a report for displaying issues as pull request annotations.
phpcs:
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

# - Runs PHPStan static analysis (with Pull Request annotations).
# - Saves the PHPStan result cache.
# - Ensures version-controlled files are not modified or deleted.
phpstan:
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Need to update and run it in wp-env so it has the abilities api.

https://github.com/justlevine/mcp-adapter/actions/runs/17025459001/job/48260246369

npm run wp-env -- run cli wp core version

- name: Run PHPUnit tests${{ matrix.coverage && ' with coverage report' || '' }}
continue-on-error: true
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

if: ${{ matrix.coverage }}
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Would need to add this before merging a real PR.

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.

1 participant