Skip to content

Commit

Permalink
Update deploy.yml (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Jun 14, 2024
1 parent 86f1d17 commit 7c305fd
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ jobs:
with:
useConfigFile: true

- name: Setup PHP runtime
uses: shivammathur/setup-php@v2
with:
coverage: "none"

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
Expand All @@ -43,6 +48,11 @@ jobs:
dev: no
progress: yes

- name: Set up environment
run: |
php -r "file_exists('.env') || copy('.env.example', '.env');"
php artisan key:generate
- name: PHPUnit Tests
uses: php-actions/phpunit@v3
with:
Expand All @@ -61,4 +71,4 @@ jobs:
with:
host: test.rebex.net
user: demo
password: password
password: password

0 comments on commit 7c305fd

Please sign in to comment.