Test fixes
This commit is contained in:
parent
faca237049
commit
ce138d07a9
1 changed files with 13 additions and 2 deletions
15
.github/workflows/tests.yml
vendored
15
.github/workflows/tests.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue