Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiannei authored Dec 21, 2020
1 parent 6099f3b commit 8c32975
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ jobs:
uses: actions/cache@v2
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
${{ runner.os }}-composer-
- name: Install dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
run: |
composer require --dev "jiannei/laravel-enum" --no-interaction --no-update
composer update --prefer-dist --no-interaction
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: vendor/bin/phpunit

0 comments on commit 8c32975

Please sign in to comment.