[automated] Update Rector Dependencies (#2550) #5884
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: Unit Tests | |
on: | |
pull_request: null | |
push: | |
branches: | |
- main | |
jobs: | |
unit_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
coverage: none | |
- uses: "ramsey/composer-install@v2" | |
# for controller tests | |
- run: cp .env.prod .env | |
- run: yarn install | |
- run: yarn run build | |
- run: php artisan migrate --force | |
- run: vendor/bin/phpunit |