chore(ci): Disable code coverage upload on pull request

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/43188/head
Côme Chilliet 10 months ago
parent 3749c2c79b
commit 625d8ee694
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
  1. 2
      .github/workflows/phpunit-mariadb.yml
  2. 2
      .github/workflows/phpunit-memcached.yml
  3. 2
      .github/workflows/phpunit-mysql.yml
  4. 2
      .github/workflows/phpunit-nodb.yml
  5. 2
      .github/workflows/phpunit-oci.yml
  6. 4
      .github/workflows/phpunit-pgsql.yml
  7. 2
      .github/workflows/phpunit-sqlite.yml

@ -57,7 +57,7 @@ jobs:
include:
- php-versions: '8.3'
mariadb-versions: '10.6'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -55,7 +55,7 @@ jobs:
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: Memcached (PHP ${{ matrix.php-versions }})

@ -57,7 +57,7 @@ jobs:
include:
- mysql-versions: '8.1'
php-versions: '8.3'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -56,7 +56,7 @@ jobs:
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: No DB unit tests (PHP ${{ matrix.php-versions }})

@ -50,7 +50,7 @@ jobs:
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests

@ -58,7 +58,7 @@ jobs:
include:
- php-versions: '8.3'
postgres-versions: '15'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@ -111,7 +111,7 @@ jobs:
- name: PHPUnit database tests
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v3

@ -55,7 +55,7 @@ jobs:
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.1'
coverage: true
coverage: ${{ github.event_name != 'pull_request' }}
name: SQLite (PHP ${{ matrix.php-versions }})

Loading…
Cancel
Save