Skip to content

Commit

Permalink
Use coveralls github action
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredup committed Apr 17, 2024
1 parent e844ce5 commit f6a1972
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/unit-tests.yml
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633

- uses: haya14busa/action-cond@1d6e8a12b20cdb4f1954feef9aa475b9c390cab5
- uses: haya14busa/action-cond@94f77f7a80cd666cb3155084e428254fea4281fd
id: coverage_driver
with:
cond: ${{ matrix.coverage }}
Expand Down Expand Up @@ -109,12 +109,10 @@ jobs:
- name: Upload coverage results to Coveralls
if: matrix.coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require --prefer-dist --no-interaction --no-progress --ansi php-coveralls/php-coveralls
export PATH="$PATH:$HOME/.composer/vendor/bin"
php-coveralls --coverage_clover=build/logs/clover.xml -v
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: build/logs/clover.xml

- name: Upload coverage results to Codecov
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit f6a1972

Please sign in to comment.