Delete search index entries under more specific conditions #4488
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: Coverage | |
on: | |
pull_request: ~ | |
push: | |
branches: | |
- 4.13 | |
tags: | |
- 4.13.* | |
permissions: read-all | |
defaults: | |
run: | |
# Simulate an interactive terminal with color support | |
shell: script -q -e -c "export TERM=xterm; bash {0}" | |
jobs: | |
coverage: | |
name: Codecov | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
extensions: dom, fileinfo, filter, gd, hash, intl, json, mbstring, mysqli, pcre, pdo_mysql, zlib | |
coverage: pcov | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Install Contao | |
uses: ramsey/composer-install@v3 | |
- name: Generate the coverage report | |
run: php -d pcov.enabled=1 vendor/bin/phpunit --testsuite=coverage --coverage-clover=clover.xml | |
- name: Upload the coverage report | |
uses: codecov/codecov-action@v4 | |
with: | |
files: ./clover.xml | |
fail_ci_if_error: true | |
token: c9fc8445-628e-41c3-886a-a37ebd3c4807 |