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

Add mutation testing support and CI/CD workflow #110

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lotyp
Copy link
Member

@lotyp lotyp commented May 30, 2024

No description provided.

@github-actions github-actions bot added the maintenance CI, dependencies etc label May 30, 2024
@lotyp lotyp changed the title ci: add mutation testing support and CI/CD workflow ci: add mutation testing support and CI/CD workflow #53 May 30, 2024
Copy link

codecov bot commented May 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.34%. Comparing base (af9ad19) to head (45fc92d).
Report is 51 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #110   +/-   ##
=========================================
  Coverage     23.34%   23.34%           
  Complexity     1232     1232           
=========================================
  Files           146      146           
  Lines          3834     3834           
=========================================
  Hits            895      895           
  Misses         2939     2939           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lotyp lotyp requested a review from roxblnfk May 30, 2024 18:28
uses: shivammathur/setup-php@2.30.4
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, pdo, pdo_sqlite
Copy link
Member Author

Choose a reason for hiding this comment

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

List needed extensions here

Copy link
Member

Choose a reason for hiding this comment

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

filter, sockets, simplexml, pdo_sqlite

.github/workflows/testing.yml Show resolved Hide resolved
@roxblnfk roxblnfk linked an issue May 30, 2024 that may be closed by this pull request
@roxblnfk roxblnfk changed the title ci: add mutation testing support and CI/CD workflow #53 Add mutation testing support and CI/CD workflow May 30, 2024
@lotyp
Copy link
Member Author

lotyp commented Jun 1, 2024

Looks like we currently have problem, where pest is blocking phpunit to run. I had this issue on other project, there should be solution.

One problem could be because of src/Tests/Proto, to resolve, we should disable some tests, and check, which suite/group breaks pest and phpunit.

image

@roxblnfk
Copy link
Member

roxblnfk commented Jun 1, 2024

Need to limit phpunit using testsuite Unit

@lotyp
Copy link
Member Author

lotyp commented Jun 4, 2024

@roxblnfk I've created issue, as, probably, there is bug in upstream package vimeo/psalm: vimeo/psalm#11006

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance CI, dependencies etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI pipeline with mutation testing
2 participants