Update README.md #125
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: | |
branches: | |
- main | |
- dev | |
jobs: | |
check-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.3 | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Run PHP CodeSniffer | |
run: vendor/bin/phpcs --severity=6 # change to 1 | |
- name: Run PHP Stan | |
run: vendor/bin/phpstan analyse src --level=8 | |
- name: Execute tests (Unit and Feature tests) via PHPUnit/Pest | |
run: vendor/bin/pest |