Skip to content

Commit 0561989

Browse files
authored
Update workflow.yml
1 parent e66220d commit 0561989

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,13 @@ jobs:
3232
run: |
3333
php vendor/bin/phpunit --coverage-clover coverage.xml --configuration phpunit.xml tests
3434
35+
- name: Download clover-to-cobertura converter
36+
run: |
37+
curl https://raw.githubusercontent.com/ngyuki/clover-to-cobertura/master/clover-to-cobertura.php -o clover-to-cobertura.php
38+
3539
- name: Convert Clover to Cobertura
36-
uses: actions/setup-node@v3
37-
with:
38-
node-version: 20
39-
- run: npx clover-to-cobertura ./coverage.xml > ./coverage-cobertura.xml
40+
run: |
41+
php clover-to-cobertura.php < coverage.xml > coverage-cobertura.xml
4042
4143
- uses: qltysh/qlty-action/coverage@v2
4244
with:

0 commit comments

Comments
 (0)