-
Notifications
You must be signed in to change notification settings - Fork 19
ci: Reduce testing matrix #691
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
Conversation
|
icewind1991/nextcloud-version-matrix may help here, no? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This app needs to support available enterprise version of Nextcloud. we are soon excluding stable26. But if this app is only one concerned for having more CI times then we can make it less may be running database to only mysql. We are keeping php 8.0 because we can install Nextcloud-26 and Nextcloud-27. @nickvergessen
SagarGi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@individual-it what do you think?
Signed-off-by: Joas Schilling <[email protected]>
a47f9de to
4ac9daf
Compare
|
If CI time is a concern, we can merge this reduced matrix and run the whole set of tests pre-release. That would introduce a little bit more time and risk for the release process, but that should be fine |
@individual-it for PR lets keep it this way. But lets run all of the things (all tests with different versions) in nightly which would be better for release process also! |
The posted matrix (testing each Nextcloud version at least once, testing each Database version at least once, testing each PHP version at least once) should really be enough. If you ever encountered an issue that qualifies such a huge matrix I'm happy to learn about the combination of PHP+DB+Server that failed while all other PHP versions passed on the same DB+Server, all other DBs passed on the same PHP+Server and all other Server passed on the same PHP+DB. |
@nickvergessen sure may be lets do it your way if as it seems to be consuming more CI server time. I will once check how this PR goes for a scheduled event and then merge it. Thanks! |
Signed-off-by: Sagar <[email protected]>
SagarGi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Thanks @nickvergessen for taking care of it!
PHP Code CoverageCoverage after merging ci/noid/reduce-matrix into master will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The CI runs of this app are too heavy.
Please reduce the matrix to something suitable. The change in
name: unit tests and lintinglooks quite "decent".The
name: API testschange was just to prevent this PR from swallowing another 1h55m of CI time.A recommended matrix is:
Matrix
stable30 php8.2
stable30 php8.3
stable29 php8.0
stable29 php8.1
stable29 php8.2
stable29 php8.3
stable28 php8.0
stable28 php8.1
stable28 php8.2
stable28 php8.3
stable27 php8.0
stable27 php8.1
stable27 php8.2
stable26 php8.0
stable26 php8.1
stable26 php8.2
stable30 php8.2
stable30 php8.3
stable29 php8.1
stable28 php8.1
stable27 php8.0
stable26 php8.0
stable30 php8.2 mysql
stable30 php8.3 mysql
stable30 php8.1 pgsql
stable30 php8.2 pgsql
stable30 php8.3 pgsql
stable29 php8.0 mysql
stable29 php8.1 mysql
stable29 php8.2 mysql
stable29 php8.3 mysql
stable29 php8.0 pgsql
stable29 php8.1 pgsql
stable29 php8.2 pgsql
stable29 php8.3 pgsql
stable28 php8.0 mysql
stable28 php8.1 mysql
stable28 php8.2 mysql
stable28 php8.3 mysql
stable28 php8.0 pgsql
stable28 php8.1 pgsql
stable28 php8.2 pgsql
stable28 php8.3 pgsql
stable27 php8.0 mysql
stable27 php8.1 mysql
stable27 php8.2 mysql
stable27 php8.0 pgsql
stable27 php8.1 pgsql
stable27 php8.2 pgsql
stable26 php8.0 mysql
stable26 php8.1 mysql
stable26 php8.2 mysql
stable26 php8.0 pgsql
stable26 php8.1 pgsql
stable26 php8.2 pgsql
stable30 php8.2 mysql
stable30 php8.3 mysql
stable30 php8.1 pgsql
stable29 php8.1 mysql
stable28 php8.1 mysql
stable27 php8.0 mysql
stable26 php8.0 mysql