Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 authored Jun 12, 2024
1 parent ff120bd commit 53fae3b
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,11 @@ jobs:
composer require "laravel/framework=${{ matrix.laravel }}" --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
- name: PHPUnit
run: |
./vendor/bin/phpunit --stop-on-failure --coverage-php=coverage.php
env:
XDEBUG_MODE: coverage
with:
bootstrap: "vendor/autoload.php"
configuration: "phpunit.xml.dist"
version: "composer"
php_version: ${{ matrix.php }}
php_extensions: "xdebug"
args: "tests --coverage-clover ./coverage.xml"
extensions: coverage_php

- name: Upload to Codecov
uses: codecov/codecov-action@v2
Expand Down

0 comments on commit 53fae3b

Please sign in to comment.