Update PHPUnit Version #6
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
| # | |
| # Laravel API Response Builder Unit Test Cases | |
| # Prem Chand Saini | |
| # | |
| name: "Unit Tests" | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| branches: | |
| - "main" | |
| - "dev" | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: "Checkout repository..." | |
| uses: actions/checkout@v2 | |
| # https://github.com/marketplace/actions/composer-php-actions | |
| - name: "Installing dependencies..." | |
| uses: php-actions/composer@v6 | |
| with: | |
| version: 2 | |
| php_version: "8.3" | |
| dev: yes | |
| # https://github.com/marketplace/actions/phpunit-php-actions | |
| - name: "Running PHPUnit..." | |
| uses: php-actions/phpunit@v3 | |
| with: | |
| bootstrap: "vendor/autoload.php" | |
| configuration: "phpunit.xml" |