build(deps): bump braze-specification from f20daf4
to 2b80d2b
#142
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: test | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
php-version: [7.4, 8.0, 8.1, 8.2] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
coverage: pcov | |
- name: Install dependencies | |
run: composer install --no-interaction --prefer-dist --optimize-autoloader | |
- name: Run tests | |
run: vendor/bin/pest --coverage --coverage-clover=coverage.xml | |
- name: Upload coverage report to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage.xml |