Skip to content

Commit

Permalink
Updated CI (artifacts and codecov)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamienHarper committed Mar 2, 2023
1 parent 5e91454 commit ce4b6d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-5.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.CODECOV_REPORT }}
path: coverage.xml
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.CODECOV_REPORT }}
path: coverage.xml
Expand All @@ -197,12 +197,12 @@ jobs:
fetch-depth: 2

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

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v2"
uses: "codecov/codecov-action@v3"
with:
directory: reports
token: ${{ env.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/ci-6.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
vendor/bin/phpunit --coverage-clover=coverage.xml
- name: Upload coverage file
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ env.CODECOV_REPORT }}
path: coverage.xml
Expand All @@ -124,12 +124,12 @@ jobs:
fetch-depth: 2

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

- name: "Upload to Codecov"
uses: "codecov/codecov-action@v2"
uses: "codecov/codecov-action@v3"
with:
directory: reports
token: ${{ env.CODECOV_TOKEN }}

0 comments on commit ce4b6d5

Please sign in to comment.