0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22: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 - name: Build/test
run: sudo -u runner composer test run: sudo -u runner composer test
build_coverage_report: # build_coverage_report:
needs: [testsuite] # needs: [testsuite]
continue-on-error: true # continue-on-error: true
runs-on: ubuntu-22.04 # runs-on: ubuntu-22.04
steps: # steps:
- uses: actions/checkout@v4 # - uses: actions/checkout@v4
#
- name: Setup PHP # - name: Setup PHP
uses: shivammathur/setup-php@v2 # uses: shivammathur/setup-php@v2
with: # with:
php-version: '7.4' # php-version: '7.4'
tools: composer # tools: composer
extensions: sqlite3, gd # extensions: sqlite3, gd
#
- name: run install.sh # - name: run install.sh
run: /bin/bash install.sh # run: /bin/bash install.sh
#
- name: touch config.local.php # - name: touch config.local.php
run: touch config.local.php && php -v # run: touch config.local.php && php -v
#
- name: Install dependencies # - name: Install dependencies
run: composer update --prefer-dist -n # run: composer update --prefer-dist -n
#
- name: build coveralls coverage # - name: build coveralls coverage
run: php -d xdebug.mode=coverage vendor/bin/phpunit tests # run: php -d xdebug.mode=coverage vendor/bin/phpunit tests
#
- name: Coveralls # - name: Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v || true # run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v || true
env: # env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}