lines
This commit is contained in:
parent
a3dd12895e
commit
b9d98b6861
1 changed files with 0 additions and 8 deletions
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
|
@ -111,33 +111,26 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Set Up Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
vendor
|
||||
key: vendor-${{ matrix.php }}-${{ hashFiles('composer.lock') }}
|
||||
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@master
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
coverage: pcov
|
||||
extensions: mbstring
|
||||
|
||||
- name: Set up database
|
||||
run: ./tests/setup-db.sh "${{ matrix.database }}"
|
||||
|
||||
- name: Check versions
|
||||
run: php -v && composer -V
|
||||
|
||||
- name: Validate composer.json and composer.lock
|
||||
run: composer validate
|
||||
|
||||
- name: Install PHP dependencies
|
||||
run: composer install --no-progress
|
||||
|
||||
- name: Run test suite
|
||||
run: |
|
||||
if [[ "${{ matrix.php }}" == "8.3" ]]; then
|
||||
|
@ -145,7 +138,6 @@ jobs:
|
|||
else
|
||||
vendor/bin/phpunit --configuration tests/phpunit.xml
|
||||
fi
|
||||
|
||||
- name: Upload coverage
|
||||
if: matrix.php == '8.3'
|
||||
run: |
|
||||
|
|
Reference in a new issue