Test fixes

This commit is contained in:
Dane Everitt 2020-06-28 15:22:39 -07:00
parent faca237049
commit ce138d07a9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -18,10 +18,21 @@ jobs:
fail-fast: true fail-fast: true
matrix: matrix:
php: [7.3, 7.4] php: [7.3, 7.4]
name: PHP ${{ matrix.php }} Integration Tests name: Integration (PHP ${{ matrix.php }})
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: get cache directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**.composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-${{ matrix.php }}-
- name: setup - name: setup
uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
with: with:
@ -30,7 +41,7 @@ jobs:
tools: composer:v1 tools: composer:v1
coverage: none coverage: none
- name: install dependencies - name: install dependencies
run: composer install --prefer-dist --no-interation --no-progress run: composer install --prefer-dist --no-interaction --no-progress
- name: execute tests - name: execute tests
run: vendor/bin/phpunit tests/Integration run: vendor/bin/phpunit tests/Integration
env: env: