diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 9e080f5..33e3cd8 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -22,6 +22,7 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 with: @@ -29,13 +30,18 @@ jobs: extensions: mbstring, dom, fileinfo, gd coverage: xdebug tools: pecl + - name: Set Laravel version run: composer require "illuminate/redis:${{ matrix.laravel }}" --no-update + - name: Install Dependencies run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + - name: Execute tests via PHPUnit run: vendor/bin/phpunit + - name: Upload coverage to Codecov + if: github.event_name != 'schedule' uses: codecov/codecov-action@v1 with: file: ./_meta/coverage.xml