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

CI: separate pest config and isolate pest from unit tests #114

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

roxblnfk
Copy link
Member

@roxblnfk roxblnfk commented Jun 2, 2024

What was changed

Pest is used for arch tests only. It uses separated config file to not to break phpunit

Why?

pest doesn't work well but we need to have arch tests

Checklist

@roxblnfk roxblnfk requested a review from lotyp June 2, 2024 08:30
@github-actions github-actions bot added maintenance CI, dependencies etc tests Changes in the tests labels Jun 2, 2024
@roxblnfk roxblnfk changed the title CI: separate pest config and isolate it from unit tests CI: separate pest config and isolate pest from unit tests Jun 2, 2024
@roxblnfk roxblnfk force-pushed the separate-arch-tests branch 2 times, most recently from d203fe6 to db18fce Compare June 2, 2024 08:38
Copy link

codecov bot commented Jun 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.34%. Comparing base (18f07e6) to head (b84ca7c).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #114      +/-   ##
============================================
+ Coverage     22.81%   23.34%   +0.52%     
  Complexity     1232     1232              
============================================
  Files           146      146              
  Lines          3791     3834      +43     
============================================
+ Hits            865      895      +30     
- Misses         2926     2939      +13     

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

@roxblnfk roxblnfk force-pushed the separate-arch-tests branch from db18fce to b84ca7c Compare June 2, 2024 08:40
@roxblnfk roxblnfk merged commit 82bdfdb into master Jun 3, 2024
22 of 25 checks passed
@roxblnfk roxblnfk deleted the separate-arch-tests branch June 3, 2024 20:10
@lotyp
Copy link
Member

lotyp commented Jun 4, 2024

@roxblnfk I would like to test this locally, before giving my approve, if this can wait some time.

I think that this can be resolved without making separate pest.xml.dist

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

Successfully merging this pull request may close these issues.

Use phpunit as default unit tests runner and pest for arch only
2 participants