diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fade7f2..fcd1699 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -217,10 +217,11 @@ jobs: env: ENGINE: SQLite3 - - name: Upload coverage report to Coveralls - run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Send coverage to Coveralls (parallel) + uses: coverallsapp/github-action@v1 + with: + parallel: true + flag-name: phpunit-sqlite phpunit-geos: name: PHPUnit GEOS @@ -256,3 +257,17 @@ jobs: run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + close-coveralls-parallel-build: + needs: + - phpunit-mysql + - phpunit-mariadb + - phpunit-postgres + - phpunit-sqlite + - phpunit-geos + runs-on: ubuntu-latest + steps: + - name: Close parallel build + uses: coverallsapp/github-action@v1 + with: + parallel-finished: true