Skip to content

Commit

Permalink
github build: suppress coverage report as it is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Apr 22, 2024
1 parent 2eb7f34 commit 05d87b1
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/php.yml
Expand Up @@ -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 }}

0 comments on commit 05d87b1

Please sign in to comment.