ci(deps): bump orhun/git-cliff-action from 4.3.0 to 4.3.1 #483
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: Tests | |
on: ['push', 'pull_request'] | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
php: ['8.1', '8.2'] | |
dependency-version: [prefer-lowest, prefer-stable] | |
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4.2.1 | |
- name: Setup PHP environment | |
uses: shivammathur/setup-php@2.31.1 | |
with: | |
php-version: ${{ matrix.php }} | |
tools: composer:v2 | |
coverage: xdebug | |
extensions: json,fileinfo | |
- name: Setup problem matches | |
run: | | |
echo "::add-matcher::${{ runner.tool_cache }}/php.json" | |
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" | |
- name: Install PHP dependencies | |
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi | |
- name: Run unit tests by pest | |
run: ./vendor/bin/pest --colors=always --coverage --coverage-clover coverage.xml | |
- name: Collect test coverage | |
uses: codecov/codecov-action@v4.6.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./coverage.xml |