This commit is contained in:
DeveloperMarius
2021-03-23 13:54:00 +01:00
parent 5275653606
commit 5095b1abc9

View File

@@ -24,10 +24,6 @@ jobs:
dependencies:
- lowest
- highest
# include:
# - os: ubuntu-latest
# php-version: '7.2'
# phpunit-version: '8.5.2'
name: PHPUnit Tests
steps:
- name: Configure git to avoid issues with line endings
@@ -46,16 +42,9 @@ jobs:
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
# - name: Determine composer cache directory on Linux
# if: matrix.os == 'ubuntu-latest'
# run: echo "COMPOSER_CACHE_DIR=$(./tools/composer config cache-dir)" >> $GITHUB_ENV
# - name: Determine composer cache directory on Windows
# if: matrix.os == 'windows-latest'
# run: ECHO "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Cache dependencies
uses: actions/cache@v2
with:
# path: ${{ env.COMPOSER_CACHE_DIR }}
path: ${{ steps.composer-cache.outputs.dir }}
key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}
restore-keys: |