File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 25
25
26
26
steps :
27
27
- name : Checkout code
28
- uses : actions/checkout@v2
28
+ uses : actions/checkout@v4
29
29
with :
30
30
fetch-depth : 1
31
31
- name : Setup PHP v${{ matrix.php }}
@@ -45,17 +45,18 @@ jobs:
45
45
./vendor/bin/phpunit --stop-on-failure --coverage-clover ./clover.xml -c ./phpunit_conf/coverage.xml.dist
46
46
env :
47
47
XDEBUG_MODE : coverage
48
+
48
49
- name : Make code coverage badge
49
50
uses : timkrase/phpunit-coverage-badge@v1.2.1
50
51
with :
51
- coverage_badge_path : output/coverage.svg
52
- push_badge : false
52
+ coverage_badge_path : ./ output/coverage.svg
53
+ push_badge : true
53
54
54
55
- name : Git push to image-data branch
55
56
uses : peaceiris/actions-gh-pages@v3
56
57
with :
57
58
publish_dir : ./output
58
- publish_branch : image-data
59
+ publish_branch : coverage-badge
59
60
github_token : ${{ secrets.GITHUB_TOKEN }}
60
61
user_name : ' github-actions[bot]'
61
62
user_email : ' github-actions[bot]@users.noreply.github.com'
You can’t perform that action at this time.
0 commit comments