Skip to content

Commit

Permalink
Merge pull request #549 from phil-davis/sync-ci-yml
Browse files Browse the repository at this point in the history
sync ci.yml to match other repos
  • Loading branch information
phil-davis authored Nov 3, 2021
2 parents f40f3bf + a9dc7a9 commit 0bd8c87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP, with Composer and Extensions
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, fileinfo, mysql, redis, opcache
coverage: ${{ matrix.coverage }}
tools: composer

- name: Get Composer Cache Directory
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache Composer Dependencies
- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
Expand All @@ -44,7 +44,7 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install Composer Dependencies
- name: Install composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Code Analysis (PHP CS-Fixer)
Expand All @@ -55,7 +55,7 @@ jobs:
if: matrix.code-analysis == 'yes'
run: composer phpstan

- name: Test with PHPUnit
- name: Test with phpunit
run: vendor/bin/phpunit --configuration tests/phpunit.xml --coverage-clover clover.xml

- name: Code Coverage
Expand Down

0 comments on commit 0bd8c87

Please sign in to comment.