chore(deps): update dependency laravel/sail to v1.40.0 #323
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: Code Coverage | |
on: | |
push: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
jobs: | |
codecoverage: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: ["ubuntu-latest"] | |
php-versions: ["8.2","8.3"] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 # v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
extensions: mbstring, intl | |
ini-values: post_max_size=256M, max_execution_time=180 | |
coverage: xdebug | |
- name: Composer install | |
run: composer install --optimize-autoloader --prefer-dist | |
- run: ./vendor/bin/pest --coverage --coverage-html coverage.html | |
- name: Archive code coverage results | |
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4 | |
with: | |
name: code-coverage-report-${{ matrix.php-versions }} | |
path: ./coverage.html |