Skip to content

Commit

Permalink
Fix CI workflow syntax at test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed Mar 29, 2023
1 parent 8e96d37 commit d696160
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,24 +109,24 @@ jobs:
name: "${{ github.job }}-${{ matrix.php-version }}-${{ matrix.extension }}.coverage"
path: "coverage.xml"

upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-22.04"
needs:
- "test"

steps:
- name: "Checkout"
uses: "actions/checkout@v3"
with:
fetch-depth: 2

- name: "Download coverage files"
uses: "actions/download-artifact@v3"
with:
path: "reports"

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v3"
with:
directory: reports
upload_coverage:
name: "Upload coverage to Codecov"
runs-on: "ubuntu-22.04"
needs:
- "test"

steps:
- name: "Checkout"
uses: "actions/checkout@v3"
with:
fetch-depth: 2

- name: "Download coverage files"
uses: "actions/download-artifact@v3"
with:
path: "reports"

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v3"
with:
directory: reports

0 comments on commit d696160

Please sign in to comment.