-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,10 +35,19 @@ jobs: | |
php-version: "${{ matrix.php-version }}" | ||
ini-values: memory_limit=-1 | ||
|
||
- name: "Install dependencies" | ||
uses: "ramsey/[email protected]" | ||
- name: "Validate composer.json and composer.lock" | ||
run: "composer validate" | ||
- name: "Get composer cache directory" | ||
id: "composer-cache" | ||
run: "echo \"::set-output name=dir::$(composer config cache-files-dir)\"" | ||
- name: "Cache composer dependencies" | ||
uses: "actions/cache@v1" | ||
with: | ||
dependency-versions: "${{ matrix.dependencies }}" | ||
path: "${{ steps.composer-cache.outputs.dir }}" | ||
key: "${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}" | ||
restore-keys: "${{ runner.os }}-composer-" | ||
- name: "Install Composer dependencies" | ||
run: "composer install" | ||
|
||
- name: "Tests" | ||
run: "vendor/bin/phpunit tests/ --colors" | ||
|