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 not running in CI and failing test #37

Merged
merged 3 commits into from
Nov 3, 2023

Conversation

meszarosrob
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

It fixes a failing test and the CI where PHPUnit tests are not actually run.

What is the current behavior? (You can also link to an open issue here)

There's a failing test, but that is never caught because the PHPUnit tests are not run.

What is the new behavior (if this is a feature change)?

PHPUnit runs again in the CI, and the failing test passes.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No.

Other information:

None.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cc91569) 95.90% compared to head (d5e4f9e) 98.86%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #37      +/-   ##
============================================
+ Coverage     95.90%   98.86%   +2.95%     
- Complexity      170      189      +19     
============================================
  Files             9        9              
  Lines           464      528      +64     
============================================
+ Hits            445      522      +77     
+ Misses           19        6      -13     
Flag Coverage Δ
unittests 98.86% <100.00%> (+2.95%) ⬆️

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

Files Coverage Δ
src/Container/ContainerConfigurator.php 100.00% <100.00%> (ø)
src/Container/PackageProxyContainer.php 100.00% <100.00%> (+30.76%) ⬆️
src/Package.php 100.00% <100.00%> (+1.94%) ⬆️

... and 1 file with indirect coverage changes

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

Copy link
Member

@tfrommen tfrommen left a comment

Choose a reason for hiding this comment

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

Thanks for this! 💪

The changes are looking good, and the PHPUnit tests are running fine, as per the Actions log.

@Chrico Chrico enabled auto-merge (squash) November 3, 2023 20:16
@Chrico
Copy link
Member

Chrico commented Nov 3, 2023

Thanks for your work ☕ Good catch! 💪🏻

@Chrico Chrico closed this Nov 3, 2023
auto-merge was automatically disabled November 3, 2023 20:16

Pull request was closed

Copy link
Member

@Chrico Chrico left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@Chrico Chrico reopened this Nov 3, 2023
@Chrico Chrico merged commit c3886c3 into master Nov 3, 2023
98 checks passed
@Chrico Chrico deleted the bugfix/fix-add-module-fails-after-build-test branch November 3, 2023 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants