Skip to content

Commit

Permalink
ci(testmatrix): shrink test matrix to reduce CI load (#358)
Browse files Browse the repository at this point in the history
* chore(CI): shrink test matrix to reduce CI load

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(CI): adjust test matrix to keep a good coverage but shrink the needed resources

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(CI): adjust test matrix to keep a good coverage but shrink the needed resources

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(CI): adjust test matrix to keep a good coverage but shrink the needed resources

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

* chore(CI): adjust test matrix to keep a good coverage but shrink the needed resources

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>

---------

Signed-off-by: Florian Steffens <florian.steffens@nextcloud.com>
  • Loading branch information
Florian authored Jun 20, 2023
1 parent 4dc67ce commit f78fa6d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 24 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,13 @@ jobs:
fail-fast: false
matrix:
node-version: [ 16 ]
containers: [ 1, 2, 3, 4, 5, 6, 7, 8 ]
php-versions: [ '7.4', '8.1' ]
databases: [ 'mysql', 'sqlite' ]
server-versions: [ 'stable25', 'stable26', 'stable27', 'master' ]
exclude:
- php-versions: 7.4
server-versions: stable26
- php-versions: 7.4
server-versions: stable27
- php-versions: 7.4
server-versions: master
databases: [ 'mysql' ]
server-versions: [ 'stable25', 'master' ]
include:
- php-versions: 8.1
- server-versions: 'stable25'
php-versions: 7.4


services:
mysql:
Expand Down
28 changes: 17 additions & 11 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,24 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0', '8.1', '8.2']
databases: ['mysql', 'pgsql', 'sqlite']
server-versions: ['stable25', 'stable26', 'stable27', 'master']
exclude:
- php-versions: 7.4
server-versions: stable26
- php-versions: 7.4
server-versions: stable27
- php-versions: 7.4
server-versions: master
- php-versions: 8.2
server-versions: stable25
include:
- php-versions: '8.2'
- server-versions: 'stable25'
php-versions: '7.4'
databases: 'sqlite'
- server-versions: 'stable26'
php-versions: '8.1'
databases: 'mysql'
- server-versions: 'stable27'
php-versions: '8.1'
databases: 'mysql'
- server-versions: 'master'
databases: 'sqlite'
- server-versions: 'master'
databases: 'mysql'
- server-versions: 'master'
databases: 'pgsql'

name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:

strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
server-versions: ['master']
server-versions: ['stable25', 'master']
include:
- php-versions: 8.1
- server-versions: 'stable25'
php-versions: 7.4

services:
mysql:
Expand Down

0 comments on commit f78fa6d

Please sign in to comment.