We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b8a66b commit 1c8b58cCopy full SHA for 1c8b58c
.github/workflows/PhpUnit.yaml
@@ -14,6 +14,20 @@ jobs:
14
extensions: bcmath
15
coverage: xdebug
16
tools: phpunit
17
+ - name: Get composer cache directory
18
+ id: composer-cache
19
+ run: echo "::set-output name=dir::$(composer config cache-files-dir)"
20
+
21
+ - name: Cache dependencies
22
+ uses: actions/cache@v2
23
+ with:
24
+ path: ${{ steps.composer-cache.outputs.dir }}
25
+ key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
26
+ restore-keys: ${{ runner.os }}-composer-
27
28
+ - name: Install dependencies
29
+ run: composer install --prefer-dist
30
31
- name: Run PHPUnit
32
run: phpunit -c tests/githubphpunit.xml --coverage-clover coverage.xml
33
- uses: codecov/codecov-action@v1
0 commit comments