From f6c4a541e3d4294d76807880702ddbf3f4354adb Mon Sep 17 00:00:00 2001 From: rennokki Date: Fri, 20 Nov 2020 10:38:23 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c0df80..3f4498a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,12 +15,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.2', '7.3', '7.4'] - laravel: ['6.*', '7.*', '8.*'] - prefer: ['prefer-lowest', 'prefer-stable'] + php: + - '7.3' + - '7.4' + - '8.0' + laravel: + - 7.* + - 8.* + prefer: + - 'prefer-lowest' + - 'prefer-stable' include: - - laravel: '6.*' - testbench: '4.*' - laravel: '7.*' testbench: '5.*' - laravel: '8.*' @@ -31,6 +36,13 @@ jobs: steps: - uses: actions/checkout@v1 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv + coverage: pcov + - uses: actions/cache@v1 name: Cache dependencies with: @@ -44,7 +56,7 @@ jobs: - name: Run tests run: | - phpunit --coverage-text --coverage-clover=coverage.xml + vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml - uses: codecov/codecov-action@v1 with: