Merge branch 'master' of https://github.com/Leonid74/helpers-php #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "upload coverage report to codecov" | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
run: | |
name: uploading coverage (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
OS: ${{ matrix.os }} | |
PHP: '7.4' | |
steps: | |
- uses: actions/checkout@master | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.xml | |
flags: tests | |
name: codecov-umbrella | |
fail_ci_if_error: true | |
verbose: true |