This commit is contained in:
Robin Appelman 2021-03-02 21:33:44 +01:00
commit b45a13d365

View file

@ -65,6 +65,7 @@ jobs:
with: with:
php-version: '8.0' php-version: '8.0'
extensions: apcu, smbclient extensions: apcu, smbclient
coverage: pcov
- name: Composer - name: Composer
run: composer install run: composer install
- name: Config - name: Config
@ -73,4 +74,7 @@ jobs:
- name: PHPUnit Tests - name: PHPUnit Tests
env: env:
BACKEND: ${{ matrix.backend }} BACKEND: ${{ matrix.backend }}
run: php ./vendor/bin/phpunit tests run: php ./vendor/bin/phpunit tests -c tests/phpunit.xml --coverage-clover=coverage.xml
- uses: codecov/codecov-action@v1
with:
files: ./coverage.xml