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 PHPUnit tests across all packages #55

Merged
merged 83 commits into from
Sep 8, 2022
Merged

Fix PHPUnit tests across all packages #55

merged 83 commits into from
Sep 8, 2022

Conversation

JoelAlphonso
Copy link
Contributor

@JoelAlphonso JoelAlphonso commented Aug 9, 2022

Fix PHPUnit tests across all packages with the option to run tests from the monorepo package (either all packages at once or individually) or run tests from each package if their dependencies are installed.

Changes :

Bug Fixes

  • phpcs: exit execution after -l option (54fc393)

@mcaskill mcaskill changed the title Pulling joel_test-suite into main Fix PHPUnit tests across all packages Sep 7, 2022
Copy link
Collaborator

@mcaskill mcaskill left a comment

Choose a reason for hiding this comment

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

Looks good as far as I can see from skimming most files.
There's some checks that will need to be resolved, I think, though I have not consulted them all. Some suggestions for the PHPCS script will improve CI formatting for humans to read.

Repository-wide suggestions:

  • The opening brace for the methods must go on its own line.
    - protected function setUp(): void    {
    + protected function setUp(): void
    + {
  • Rename tests/script directory to tests/scripts.

.github/workflows/php.yaml Outdated Show resolved Hide resolved
.github/workflows/php.yaml Outdated Show resolved Hide resolved
.github/workflows/php.yaml Outdated Show resolved Hide resolved
.github/workflows/php.yaml Outdated Show resolved Hide resolved
.github/workflows/php.yaml Outdated Show resolved Hide resolved
phpunit.xml.dist Outdated Show resolved Hide resolved
tests/script/phpcs Outdated Show resolved Hide resolved
tests/script/phpcs Outdated Show resolved Hide resolved
tests/script/phpunit Outdated Show resolved Hide resolved
monorepo-builder.php Outdated Show resolved Hide resolved
…ulted to an empty string like in ViewableTrait.php
@JoelAlphonso JoelAlphonso merged commit 1d0020a into main Sep 8, 2022
@charcoal-butler
Copy link
Contributor

🎉 This PR is included in version 3.1.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@mcaskill mcaskill deleted the joel_test-suite branch November 12, 2022 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants