Skip to content

Commit

Permalink
Merge pull request #55 from phansys/syntax_workflow
Browse files Browse the repository at this point in the history
Fix CI workflow syntax at `test.yml`
  • Loading branch information
NattyNarwhal authored Mar 29, 2023
2 parents 8e96d37 + d696160 commit a2494a1
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 a2494a1

Please sign in to comment.