Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/files-external-ftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/FtpTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -105,6 +106,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-ftp

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-ftp

- name: ftpd logs
if: always()
run: |
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/files-external-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ jobs:
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -103,6 +104,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-s3

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-s3

- name: S3 logs
if: always()
run: |
Expand Down Expand Up @@ -161,7 +168,8 @@ jobs:
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -170,6 +178,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-s3

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-s3

- name: S3 logs
if: always()
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/files-external-sftp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ jobs:
run: composer run test:files_external -- \
apps/files_external/tests/Storage/SftpTest.php \
apps/files_external/tests/Storage/SFTP_KeyTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -94,6 +95,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-sftp

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-sftp

- name: sftpd logs
if: always()
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/files-external-smb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/SmbTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -99,6 +100,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-smb

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-smb

files-external-smb-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb]
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/files-external-webdav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ jobs:
- name: PHPUnit
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/WebdavTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -96,6 +97,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-webdav

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-webdav

files-external-webdav-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-webdav-apache]
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/files-external.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ jobs:

- name: PHPUnit
run: composer run test:files_external -- \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
--log-junit junit.xml \
${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -84,6 +85,12 @@ jobs:
files: ./clover.xml
flags: phpunit-files-external-generic

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-files-external-generic

files-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-generic ]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ jobs:
with:
files: ./coverage/lcov.info

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]

jsunit:
runs-on: ubuntu-latest
needs: [versions, changes]
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/object-storage-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: composer run test -- --group PRIMARY-azure ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-azure --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -110,6 +110,12 @@ jobs:
files: ./clover.xml
flags: phpunit-azure

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-azure

- name: Azurite logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/object-storage-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: composer run test -- --group PRIMARY-s3 ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-s3 --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -116,6 +116,12 @@ jobs:
files: ./clover.xml
flags: phpunit-s3

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-s3

- name: S3 logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/object-storage-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: composer run test -- --group PRIMARY-swift ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group PRIMARY-swift --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -106,6 +106,12 @@ jobs:
files: ./clover.xml
flags: phpunit-swift

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-swift

- name: Swift logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}

- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -129,6 +129,12 @@ jobs:
files: ./clover.db.xml
flags: phpunit-mariadb

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-mariadb

summary:
permissions:
contents: none
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-memcached.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit memcached tests
run: composer run test -- --group Memcache,Memcached ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
run: composer run test -- --group Memcache,Memcached --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}

- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -106,6 +106,12 @@ jobs:
files: ./clover.xml
flags: phpunit-memcached

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-memcached

- name: Print logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-mysql-sharding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}

- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -164,6 +164,12 @@ jobs:
files: ./clover.db.xml
flags: phpunit-mysql

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-mysql

- name: Print logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}

- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -129,6 +129,12 @@ jobs:
files: ./clover.db.xml
flags: phpunit-mysql

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-mysql

- name: Print logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-nodb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit nodb testsuite
run: composer run test -- --exclude-group DB,SLOWDB ${{ matrix.coverage && ' --coverage-clover ./clover.nodb.xml' || '' }}
run: composer run test -- --exclude-group DB,SLOWDB --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.nodb.xml' || '' }}

- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -112,6 +112,12 @@ jobs:
files: ./clover.nodb.xml
flags: phpunit-nodb

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-nodb

- name: Print logs
if: always()
run: |
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-oci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}

- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -134,6 +134,12 @@ jobs:
files: ./clover.db.xml
flags: phpunit-oci

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-oci

- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/phpunit-pgsql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0

- name: PHPUnit database tests
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
run: composer run test:db -- --log-junit junit.xml ${{ matrix.coverage && '--coverage-clover ./clover.db.xml' || '' }}

- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
Expand All @@ -124,6 +124,12 @@ jobs:
files: ./clover.db.xml
flags: phpunit-postgres

- name: Upload test results
if: ${{ !cancelled() }}
uses: codecov/[email protected]
with:
flags: phpunit-postgres

- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
Expand Down
Loading
Loading