File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,25 +113,9 @@ jobs:
113113 QUEUE_CONNECTION : sync
114114 XDEBUG_MODE : coverage
115115
116- - name : Generate Coverage Badge
117- uses : timkrase/phpunit-coverage-badge@v1.2.1
116+ - name : Upload coverage to Codecov
117+ uses : codecov/codecov-action@v5
118118 with :
119- coverage_badge_path : .github/badges/coverage.svg
120- push_badge : false
121- repo_token : ${{ secrets.GITHUB_TOKEN }}
122- report : coverage.xml
123-
124- - name : Log Coverage Percentage
125- run : |
126- if [ -f .github/badges/coverage.svg ]; then
127- COVERAGE=$(grep -oP '\d+%' .github/badges/coverage.svg | head -1)
128- echo "Code Coverage: $COVERAGE"
129- fi
130-
131- - name : Commit and Push Badge
132- run : |
133- git config --local user.email "github-actions[bot]@users.noreply.github.com"
134- git config --local user.name "github-actions[bot]"
135- git add .github/badges/coverage.svg || true
136- git diff --staged --quiet || git commit -m "Update coverage badge [skip ci]"
137- git push
119+ files : ./coverage.xml
120+ fail_ci_if_error : false
121+ token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change 11<p align =" center " >
22<img alt =" logo " src =" https://user-images.githubusercontent.com/1130888/210139313-43f0d7ed-2005-4b71-9149-540f124c2c2f.png " >
33</p >
4- <p align =" center " ><a href =" https://github.com/laravel-workflow/laravel-workflow/actions/workflows/php.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/laravel-workflow/laravel-workflow/php.yml " alt =" GitHub Workflow Status " ></a > <a href =" https://github.com/ laravel-workflow/laravel-workflow " ><img src =" https://raw.githubusercontent.com/ laravel-workflow/laravel-workflow/master/.github/badges/coverage .svg " alt =" Code Coverage " ></a > <a href =" https://packagist.org/packages/laravel-workflow/laravel-workflow/stats " ><img alt =" Packagist Downloads (custom server) " src =" https://img.shields.io/packagist/dt/laravel-workflow/laravel-workflow " ></a >
4+ <p align =" center " ><a href =" https://github.com/laravel-workflow/laravel-workflow/actions/workflows/php.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/laravel-workflow/laravel-workflow/php.yml " alt =" GitHub Workflow Status " ></a > <a href =" https://codecov.io/gh/ laravel-workflow/laravel-workflow " ><img src =" https://codecov.io/gh/ laravel-workflow/laravel-workflow/branch/ master/graph/badge .svg " alt =" Code Coverage " ></a > <a href =" https://packagist.org/packages/laravel-workflow/laravel-workflow/stats " ><img alt =" Packagist Downloads (custom server) " src =" https://img.shields.io/packagist/dt/laravel-workflow/laravel-workflow " ></a >
55 <a href =" https://laravel-workflow.com/docs/installation " ><img src =" https://img.shields.io/badge/docs-read%20now-brightgreen " alt =" Docs " ></a > <a href =" https://github.com/laravel-workflow/laravel-workflow/blob/master/LICENSE " ><img alt =" Packagist License " src =" https://img.shields.io/packagist/l/laravel-workflow/laravel-workflow?color=bright-green " ></a ></p >
66
77Laravel Workflow is a package for the Laravel web framework that provides tools for defining and managing workflows and activities. A workflow is a series of interconnected activities that are executed in a specific order to achieve a desired result. Activities are individual tasks or pieces of logic that are executed as part of a workflow.
You can’t perform that action at this time.
0 commit comments