Skip to content

Commit 70172d6

Browse files
committed
Upgrade codecov upload for workflows
1 parent 18b0aa8 commit 70172d6

File tree

1 file changed

+3
-26
lines changed

1 file changed

+3
-26
lines changed

.github/workflows/continuous-integration.yml

+3-26
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,7 @@ jobs:
5555
- name: "Run PHPUnit"
5656
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"
5757

58-
- name: "Upload coverage file"
59-
uses: "codecov/codecov-action@v4"
58+
- name: "Upload coverage"
59+
uses: "codecov/codecov-action@v5"
6060
with:
61-
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.dbal-version }}.coverage"
62-
files: "./coverage.xml"
63-
64-
upload_coverage:
65-
name: "Upload coverage to Codecov"
66-
runs-on: "ubuntu-20.04"
67-
needs:
68-
- "phpunit"
69-
70-
steps:
71-
- name: "Checkout"
72-
uses: "actions/checkout@v2"
73-
with:
74-
fetch-depth: 2
75-
76-
- name: "Download coverage files"
77-
uses: "actions/download-artifact@v4"
78-
with:
79-
path: "reports"
80-
81-
- name: "Upload to Codecov"
82-
uses: "codecov/codecov-action@v2"
83-
with:
84-
directory: "reports"
61+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)