ProviderCache: Add option to separate cache between providers #253
Workflow file for this run
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
name: Geocoder | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: ['7.4', '8.0', '8.1', '8.2'] | |
deps: ['low', 'high'] | |
name: PHP ${{ matrix.php-version }} (${{ matrix.deps }}) | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use PHP ${{ matrix.php-version }} | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: curl | |
- name: Validate composer.json and composer.lock | |
run: composer validate | |
- name: Install dependencies | |
if: ${{ matrix.deps == null }} | |
run: composer update --no-progress --prefer-dist | |
- name: Install dependencies (low) | |
if: ${{ matrix.deps == 'low' }} | |
run: composer update --no-progress --prefer-lowest --prefer-stable | |
- name: Install dependencies (high) | |
if: ${{ matrix.deps == 'high' }} | |
run: composer update --no-progress | |
- name: Run test suite | |
run: composer run-script test |