chore: deactivate Send coverage report to temp fix ci #62
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: ~ | |
pull_request: ~ | |
release: | |
types: [created] | |
schedule: | |
- | |
cron: "0 1 * * 6" # Run at 1am every Saturday | |
workflow_dispatch: ~ | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
name: "PHP ${{ matrix.php }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
php: [8.0, 8.1, 8.2, 8.3] | |
env: | |
APP_ENV: test | |
steps: | |
- | |
uses: actions/checkout@v3 | |
- | |
name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: "${{ matrix.php }}" | |
extensions: intl | |
tools: symfony | |
coverage: none | |
- | |
name: Get Composer cache directory | |
id: composer-cache | |
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT | |
- | |
name: Cache Composer | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }} | |
restore-keys: | | |
${{ runner.os }}-php-${{ matrix.php }}-composer- | |
- | |
name: Install PHP dependencies | |
run: composer install --no-interaction --prefer-source | |
- | |
name: Run analysis | |
run: composer validate --strict | |
- | |
name: Run PHPUnit | |
run: vendor/bin/phpunit --configuration phpunit.ci.xml --coverage-clover clover.xml | |
#- | |
#name: Send coverage report | |
#if: github.repository == 'bresam/ivory-google-map' | |
#run: | | |
#wget https://scrutinizer-ci.com/ocular.phar | |
#php ocular.phar code-coverage:upload --format=php-clover clover.xml |