0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 03:02:14 +02:00

github build: suppress coverage report as it is broken

This commit is contained in:
David Goodwin 2024-04-22 21:09:16 +01:00
parent 2eb7f34844
commit 05d87b16fe
No known key found for this signature in database

View File

@ -70,33 +70,33 @@ jobs:
- name: Build/test
run: sudo -u runner composer test
build_coverage_report:
needs: [testsuite]
continue-on-error: true
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer
extensions: sqlite3, gd
- name: run install.sh
run: /bin/bash install.sh
- name: touch config.local.php
run: touch config.local.php && php -v
- name: Install dependencies
run: composer update --prefer-dist -n
- name: build coveralls coverage
run: php -d xdebug.mode=coverage vendor/bin/phpunit tests
- name: Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v || true
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
# build_coverage_report:
# needs: [testsuite]
# continue-on-error: true
# runs-on: ubuntu-22.04
# steps:
# - uses: actions/checkout@v4
#
# - name: Setup PHP
# uses: shivammathur/setup-php@v2
# with:
# php-version: '7.4'
# tools: composer
# extensions: sqlite3, gd
#
# - name: run install.sh
# run: /bin/bash install.sh
#
# - name: touch config.local.php
# run: touch config.local.php && php -v
#
# - name: Install dependencies
# run: composer update --prefer-dist -n
#
# - name: build coveralls coverage
# run: php -d xdebug.mode=coverage vendor/bin/phpunit tests
#
# - name: Coveralls
# run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v || true
# env:
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}