Skip to content

Commit 5366112

Browse files
committed
merge coverage reports.
1 parent 22200a2 commit 5366112

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,14 +281,18 @@ jobs:
281281
sudo apt-get install -y php-cli unzip curl git
282282
composer global require phpunit/phpcov
283283
284+
- name: Add Composer global bin to PATH
285+
run: echo "$HOME/.composer/vendor/bin" >> $GITHUB_PATH
286+
284287
- name: Merge coverage files
285288
run: |
286289
mkdir -p coverage
287290
find all-coverage -name '*.xml' > coverage-files.txt
288291
phpcov merge --clover coverage/clover.xml $(cat coverage-files.txt)
289292
290-
- name: Upload merged coverage to Qlty
291-
uses: qltysh/qlty-action/coverage@v1
292-
with:
293-
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
294-
files: coverage/clover.xml
293+
294+
- name: Merge coverage files
295+
run: |
296+
mkdir -p coverage
297+
find all-coverage -name '*.xml' > coverage-files.txt
298+
phpcov merge --clover coverage/clover.xml $(cat coverage-files.txt)

0 commit comments

Comments
 (0)