Skip to content

phpunit6 enable failOnRisky#34976

Merged
phil-davis merged 2 commits into
masterfrom
phpunit6-enable-failOnRisky
Apr 6, 2019
Merged

phpunit6 enable failOnRisky#34976
phil-davis merged 2 commits into
masterfrom
phpunit6-enable-failOnRisky

Conversation

@phil-davis

@phil-davis phil-davis commented Apr 5, 2019

Copy link
Copy Markdown
Contributor

Description

In phpunit enable failOnRisky so we know about tests that phpunit thinks are "a bit odd"

Related Issue

Motivation and Context

We did this already in apps. Be consistent and do it in core.

How Has This Been Tested?

CI

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

@phil-davis

Copy link
Copy Markdown
Contributor Author

Backport stable10 #34977

@codecov

codecov Bot commented Apr 5, 2019

Copy link
Copy Markdown

Codecov Report

Merging #34976 into master will decrease coverage by 0.8%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #34976      +/-   ##
============================================
- Coverage     65.37%   64.56%   -0.81%     
  Complexity    18587    18587              
============================================
  Files          1213     1213              
  Lines         70378    70344      -34     
  Branches       1295     1295              
============================================
- Hits          46007    45419     -588     
- Misses        23997    24551     +554     
  Partials        374      374
Flag Coverage Δ Complexity Δ
#javascript 52.85% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 65.92% <ø> (-0.9%) 18587 <ø> (ø)
Impacted Files Coverage Δ Complexity Δ
lib/private/DB/PostgreSqlMigrator.php 0% <0%> (-100%) 6% <0%> (ø)
lib/private/DB/SQLiteSessionInit.php 0% <0%> (-100%) 4% <0%> (ø)
lib/private/DB/SQLiteMigrator.php 0% <0%> (-100%) 7% <0%> (ø)
...ilder/ExpressionBuilder/PgSqlExpressionBuilder.php 0% <0%> (-88.89%) 3% <0%> (ø)
lib/private/DB/AdapterOCI8.php 0% <0%> (-86.67%) 4% <0%> (ø)
...ivate/Files/ObjectStore/HomeObjectStoreStorage.php 0% <0%> (-86.67%) 8% <0%> (ø)
lib/private/DB/AdapterPgSql.php 0% <0%> (-85.72%) 2% <0%> (ø)
lib/private/Repair/SqliteAutoincrement.php 0% <0%> (-85.19%) 9% <0%> (ø)
...Builder/ExpressionBuilder/OCIExpressionBuilder.php 0% <0%> (-85.19%) 18% <0%> (ø)
lib/private/DB/AdapterSqlite.php 0% <0%> (-83.34%) 7% <0%> (ø)
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 544cbef...aeb8601. Read the comment docs.

@phil-davis phil-davis requested a review from individual-it April 5, 2019 15:49
@codecov

codecov Bot commented Apr 5, 2019

Copy link
Copy Markdown

Codecov Report

Merging #34976 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #34976      +/-   ##
============================================
+ Coverage     65.37%   65.37%   +<.01%     
- Complexity    18587    18588       +1     
============================================
  Files          1213     1213              
  Lines         70378    70380       +2     
  Branches       1295     1295              
============================================
+ Hits          46007    46009       +2     
  Misses        23997    23997              
  Partials        374      374
Flag Coverage Δ Complexity Δ
#javascript 52.85% <ø> (ø) 0 <ø> (ø) ⬇️
#phpunit 66.82% <ø> (ø) 18588 <ø> (+1) ⬆️
Impacted Files Coverage Δ Complexity Δ
apps/files_sharing/templates/public.php 0% <0%> (ø) 0% <0%> (ø) ⬇️
core/js/sharedialoglinkshareview.js 83.46% <0%> (ø) 0% <0%> (ø) ⬇️
...es_sharing/lib/Controller/Share20OcsController.php 85.84% <0%> (+0.02%) 203% <0%> (+1%) ⬆️
.../files_sharing/lib/Controllers/ShareController.php 54.58% <0%> (+0.2%) 54% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 544cbef...aeb8601. Read the comment docs.

@phil-davis phil-davis marked this pull request as ready for review April 5, 2019 15:49
@phil-davis phil-davis merged commit 3de3601 into master Apr 6, 2019
@delete-merged-branch delete-merged-branch Bot deleted the phpunit6-enable-failOnRisky branch April 6, 2019 03:11
@lock lock Bot locked as resolved and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants