dingo-d / wp-pest

A package that will add WordPress integration test suite with Pest
MIT License
119 stars 5 forks source link

Fix incomplete wp core files #21

Closed dingo-d closed 1 year ago

dingo-d commented 1 year ago

Description

Fix failures that happened on WP 6+ due to the fact that the wordpress-develop repo doesn't have all the WordPress core files inside its source folder.

Also added a new --force parameter to force a download of the new WordPress development and core

Types of changes

Improvement and bugfixes

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #21 (ac5033e) into develop (0dae29a) will decrease coverage by 4.45%. The diff coverage is 86.15%.

@@              Coverage Diff              @@
##             develop      #21      +/-   ##
=============================================
- Coverage      90.07%   85.62%   -4.46%     
- Complexity        38       45       +7     
=============================================
  Files              1        1              
  Lines            131      160      +29     
=============================================
+ Hits             118      137      +19     
- Misses            13       23      +10     
Flag Coverage Δ
unittests 85.62% <86.15%> (-4.46%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Command/InitCommand.php 85.62% <86.15%> (-4.46%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more