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 dc2ccda
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,12 @@ 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
files: build/logs/clover.xml

phpunit-geos:
name: PHPUnit GEOS
Expand Down Expand Up @@ -256,3 +258,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 dc2ccda

Please sign in to comment.