Skip to content

Commit

Permalink
Add Codecov action to PHP workflow
Browse files Browse the repository at this point in the history
An action has been added to the .github/workflows/phpunit.yml file for uploading coverage reports to Codecov. This includes specifying the appropriate token and slug environment variables to integrate with the service.
  • Loading branch information
meltir committed Feb 16, 2024
1 parent 9c008e0 commit c8e28d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ jobs:
path: ./phpunit-log.xml
reporter: java-junit

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
env:
token: ${{ secrets.CODECOV_TOKEN }}
slug: meltir/imdb-review-scraper

- name: Cache Composer dependencies
uses: actions/cache@v3
with:
Expand Down

0 comments on commit c8e28d1

Please sign in to comment.