fgunz07 is testing push commit 🚀 #13
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: Test | |
run-name: ${{ github.actor }} is testing push commit 🚀 | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
name: Run PHPUnit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- name: Install dependencies | |
run: composer install | |
working-directory: src | |
- name: Generate RSA256 | |
run: php artisan app:rsa | |
working-directory: src | |
- name: Run tests | |
run: php artisan test --parallel | |
working-directory: src |