Skip to content

Commit

Permalink
coverallsapp/github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jun 5, 2024
1 parent 7309d4e commit f63e864
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit f63e864

Please sign in to comment.