Skip to content

Commit 00c49cc

Browse files
Merge pull request #57561 from nextcloud/ci/noid/thin-matrix
ci(phpunit): thin out testing matrix
2 parents d996029 + 313ac05 commit 00c49cc

15 files changed

+142
-46
lines changed

.github/workflows/files-external-ftp.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-ftp:
4050
runs-on: ubuntu-latest

.github/workflows/files-external-s3.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-s3-minio:
4050
runs-on: ubuntu-latest

.github/workflows/files-external-sftp.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-sftp:
4050
runs-on: ubuntu-latest

.github/workflows/files-external-smb-kerberos.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-smb-kerberos:
4050
runs-on: ubuntu-latest

.github/workflows/files-external-smb.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-smb:
4050
runs-on: ubuntu-latest

.github/workflows/files-external-webdav.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
37-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3848
3949
files-external-webdav-apache:
4050
runs-on: ubuntu-latest

.github/workflows/files-external.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- 'apps/files_external/**'
3332
- 'vendor/**'
3433
- 'vendor-bin/**'
3534
- 'composer.json'
3635
- 'composer.lock'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
3748
3849
files-external-generic:
3950
runs-on: ubuntu-latest

.github/workflows/integration-s3-primary.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,23 @@ jobs:
2727
src:
2828
- '.github/workflows/**'
2929
- '3rdparty/**'
30-
- '**/*.php'
31-
- '**/lib/**'
32-
- '**/tests/**'
33-
- '**/vendor-bin/**'
34-
- 'build/integration/**'
35-
- '.php-cs-fixer.dist.php'
30+
- 'vendor/**'
31+
- 'vendor-bin/**'
3632
- 'composer.json'
3733
- 'composer.lock'
34+
- 'build/integration/**'
35+
- 'apps/files/lib/**'
36+
- 'apps/files/tests/**'
37+
- 'apps/files_external/**'
38+
- 'apps/files_sharing/lib/**'
39+
- 'apps/files_sharing/tests/**'
40+
- 'apps/files_trashbin/lib/**'
41+
- 'apps/files_trashbin/tests/**'
42+
- 'apps/files_versions/lib/**'
43+
- 'apps/files_versions/tests/**'
44+
- 'lib/private/Files/**'
45+
- 'lib/public/Files/**'
46+
- 'tests/lib/Files/**'
3847
3948
integration-s3-primary:
4049
runs-on: ubuntu-latest

.github/workflows/object-storage-azure.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- '**/appinfo/**'
33-
- '**/lib/**'
34-
- '**/templates/**'
35-
- '**/tests/**'
3632
- 'vendor/**'
3733
- 'vendor-bin/**'
38-
- '.php-cs-fixer.dist.php'
3934
- 'composer.json'
4035
- 'composer.lock'
41-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
4248
4349
azure-primary-tests:
4450
runs-on: ubuntu-latest
@@ -52,7 +58,7 @@ jobs:
5258
php-versions: ['8.2', '8.3']
5359
include:
5460
- php-versions: '8.4'
55-
coverage: true
61+
coverage: ${{ github.event_name != 'pull_request' }}
5662

5763
name: php${{ matrix.php-versions }}-azure
5864

.github/workflows/object-storage-s3.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,22 @@ jobs:
2929
src:
3030
- '.github/workflows/**'
3131
- '3rdparty/**'
32-
- '**/appinfo/**'
33-
- '**/lib/**'
34-
- '**/templates/**'
35-
- '**/tests/**'
3632
- 'vendor/**'
3733
- 'vendor-bin/**'
38-
- '.php-cs-fixer.dist.php'
3934
- 'composer.json'
4035
- 'composer.lock'
41-
- '**.php'
36+
- 'apps/files/lib/**'
37+
- 'apps/files/tests/**'
38+
- 'apps/files_external/**'
39+
- 'apps/files_sharing/lib/**'
40+
- 'apps/files_sharing/tests/**'
41+
- 'apps/files_trashbin/lib/**'
42+
- 'apps/files_trashbin/tests/**'
43+
- 'apps/files_versions/lib/**'
44+
- 'apps/files_versions/tests/**'
45+
- 'lib/private/Files/**'
46+
- 'lib/public/Files/**'
47+
- 'tests/lib/Files/**'
4248
4349
s3-primary-tests-minio:
4450
runs-on: ubuntu-latest
@@ -52,7 +58,7 @@ jobs:
5258
php-versions: ['8.2']
5359
include:
5460
- php-versions: '8.3'
55-
coverage: true
61+
coverage: ${{ github.event_name != 'pull_request' }}
5662

5763
name: php${{ matrix.php-versions }}-s3
5864

0 commit comments

Comments
 (0)