Skip to content

Commit

Permalink
Adding Codecov environment variable in Github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
brentscheffler committed May 4, 2024
1 parent 7a5f75c commit ffb83f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ end_of_line=lf
indent_style=tab
indent_size=4
charset=utf-8
trim_trailing_whitespace=true

[*.yml]
end_of_line=lf
indent_style=space
indent_size=2
charset=utf-8
trim_trailing_whitespace=true
2 changes: 2 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
run: make coverage

- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./build/logs/clover.xml
#flags: unittests # optional
Expand Down

0 comments on commit ffb83f4

Please sign in to comment.