Repository navigation
Small text in chart box to make more info fit #49
Workflow file for this run
This file contains hidden or 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: Unit tests | |
| on: [push, pull_request] | |
| jobs: | |
| run: | |
| if: ${{ !startsWith(github.event.head_commit.message, 'Translation:') }} | |
| runs-on: ${{ matrix.operating-system }} | |
| name: Testing PHP ${{ matrix.php-version }} on ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: ['ubuntu-latest'] | |
| php-version: ['8.3', '8.4', '8.5', '8.6'] | |
| fail-fast: false | |
| steps: | |
| - uses: shivammathur/setup-php@master | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| ini-file: 'development' | |
| extensions: gd,intl,mbstring,sqlite,zip | |
| coverage: pcov | |
| - uses: actions/checkout@v6 | |
| - run: composer validate | |
| - run: composer install --no-progress | |
| - run: vendor/bin/phpunit --coverage-clover=tests/coverage.xml | |
| - uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: tests/coverage.xml |