-
Notifications
You must be signed in to change notification settings - Fork 4
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
Integrate infection/infection
to improve tests quality
#10
Conversation
.github/workflows/ci.yaml
Outdated
|
||
- name: Run Infection | ||
shell: bash | ||
run: make infection |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Could you please rebase against latest master and resolve conflicts? |
cf3d831
to
93dca13
Compare
…ng cases for Equal and NotEqual
…ng cases where rule should not be triggered
…ding cases where null is assigned
93dca13
to
336304d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@sidz ready for review Here you can see Infection takes almost 2m when executed for the whole project: https://github.com/sidz/phpstan-rules/actions/runs/5126088310/jobs/9220118095#step:9:1 After running it for the changed lines only, it takes 1s (for this particular PR because no source files are changed): https://github.com/sidz/phpstan-rules/actions/runs/5126162099/jobs/9220300054#step:9:1 But anyway, this is a good improvement. Regarding MSI, it's now 100% |
Fine for me to leave it as is. |
Thank you @maks-rafalko |
Depends on #7 and #8
Currently in Draft, to trigger CI and see if it works in some way.
mt.yaml
to run it only for one PHP version