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

Continuous integration #67

Merged
merged 11 commits into from
Feb 14, 2024
Merged

Continuous integration #67

merged 11 commits into from
Feb 14, 2024

Conversation

psrpinto
Copy link
Member

@psrpinto psrpinto commented Feb 13, 2024

Run phpcs and phpunit on PRs.

Note that I haven't fixed the coding standards yet. For now phpcs passes but it doesn't actually check anything.

Since there are a lot of things to fix, and they're not just formatting issues (for example, there are input sanitization issues), I would rather fix them iteratively after this PR. For now, I commented out the included files and will enable them as I fix them, in coming PR(s).

TODO

  • Set up phpunit
  • Set up phpcs
  • Run phpunit and phpcs on PRs

@psrpinto psrpinto self-assigned this Feb 13, 2024
@psrpinto psrpinto linked an issue Feb 13, 2024 that may be closed by this pull request
@psrpinto psrpinto force-pushed the tooling branch 2 times, most recently from ffb0e16 to 3af849f Compare February 13, 2024 16:41
We'll enable checks as we fix code.
@psrpinto psrpinto changed the title Automation CI Feb 13, 2024
@psrpinto psrpinto changed the title CI Continuous integration Feb 13, 2024
@psrpinto psrpinto marked this pull request as ready for review February 13, 2024 17:34
Copy link
Member

@akirk akirk left a comment

Choose a reason for hiding this comment

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

Ok for me to continue with this and fix things in a follow up PR.

Copy link
Collaborator

@amieiro amieiro left a comment

Choose a reason for hiding this comment

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

It is ok for me. As @akirk said, we can fix or improve it in other PRs.

@amieiro amieiro merged commit 1c1eda6 into trunk Feb 14, 2024
2 checks passed
@amieiro amieiro deleted the tooling branch February 14, 2024 09:26
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.

Add tooling to the repo
3 participants