diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b53e2a..8e5d069 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,13 +18,20 @@ jobs: strategy: matrix: - php: ['7.2', '7.3', '7.4'] - node: ['10', '12'] - laravel: ['6.*', '7.*', '8.*'] - prefer: ['prefer-lowest', 'prefer-stable'] + php: + - '7.3' + - '7.4' + - '8.0' + node: + - '10' + - '12' + laravel: + - 7.* + - 8.* + prefer: + - 'prefer-lowest' + - 'prefer-stable' include: - - laravel: '6.*' - testbench: '4.*' - laravel: '7.*' testbench: '5.*' - laravel: '8.*' @@ -35,6 +42,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 + - name: Install Chromium binary run: | sudo apt-get update @@ -73,7 +87,7 @@ jobs: - name: Run tests run: | - phpunit --coverage-text --coverage-clover=coverage.xml + vendor/bin/phpunit --coverage-text --coverage-clover=coverage.xml - name: Upload math result for job 1 uses: actions/upload-artifact@v1