Conversation
|
codecov shows that mysql code paths are touched - nice - https://codecov.io/gh/owncloud/core/pull/29410/changes Adding --group DB would give us some speed up here as well ... |
I've added it in the last commit, is that ok? |
| if [[ "${DB_TYPE}" == "none" ]]; then | ||
| GROUP="--exclude-group DB" | ||
| else | ||
| GROUP="--group DB" |
There was a problem hiding this comment.
now sqlite is executed with --group DB as well - DB_TYPE none is missing
|
Some failures in drone after last commit: 1) Test\Encryption\EncryptionWrapperTest::testWrapStorage with data set #0 (true, array())2) Test\Files\External\PersonalMountTest::testFindByStorageId3) Test\Files\Mount\ManagerTest::testFind4) Test\Files\Mount\ManagerTest::testLong |
I'd say there are some annotations missing then |
|
Should I add * @group DBto all those tests? |
|
@DeepDiver1975 Can this be merged? |
no - the code coverage report is 💩 - the expectation is that the coverage increases when adding mysql - not to decrease |
.drone.yml
Outdated
There was a problem hiding this comment.
one step should be enough - the plugin can take multiple files
dc45fb1 to
e1140dc
Compare
|
Hmm flags appear in the report, but the github check doesn't split them Do we need a different approach here? Making steps more explicit separating databases like in 794e529 ? |
e5fc237 to
2badd16
Compare
|
Removed annotations in unit tests. |
|
@SergioBertolinSG please enable debug - https://github.com/robertstettner/drone-codecov#configuration |
Codecov Report
@@ Coverage Diff @@
## master #29410 +/- ##
============================================
- Coverage 61.39% 59.8% -1.59%
- Complexity 17472 17477 +5
============================================
Files 1044 1044
Lines 57695 59249 +1554
============================================
+ Hits 35419 35432 +13
- Misses 22276 23817 +1541
Continue to review full report at Codecov.
|
|
Codecov upload has issues afaik. See the logs. Master Branch is used. |
|
Yes, adding it here for reference: Here https://github.com/robertstettner/drone-codecov/blob/master/entrypoint.sh#L44-L45 the plugin uses DRONE_BRANCH. In drone docs it says http://docs.drone.io/environment-reference/ But there is also a variable called DRONE_COMMIT_BRANCH there. Not sure if it is the same. |
@tboerger is there a way to see the actual env vars? THX |
d694bef to
1ff8d93
Compare
|
Both DRONE_BRANCH and DRONE_COMMIT_BRANCH are the same : master. This variable contains the current branch name: |
1ff8d93 to
2347ac8
Compare
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |

Currently running using mysql 5.7, after #29409 is merged it will run agains mysql 5.5.